golang: Rename GoPackage/Environment to GO_PKG_VARS

The variable is a list of shell variables; the new name is more in-line
with other parts the build system (CONFIGURE_VARS, MAKE_VARS, etc.).

GoPackage/Environment is kept (for now) in case other feeds are using
it.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2020-05-13 00:05:18 +08:00
parent bcdd6e64fa
commit d2f5e6966b
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ endif
define Build/Compile
( \
export $(call GoPackage/Environment) \
export $(GO_PKG_VARS) \
GITCOMMIT=$(PKG_SOURCE_VERSION) \
DOCKER_GITCOMMIT=$(PKG_SOURCE_VERSION) \
DOCKER_BUILDTAGS='$(BUILDTAGS)' \