golang: Evaluate "go install" arguments during Build/Compile 12643/head
authorJeffery To <jeffery.to@gmail.com>
Sun, 28 Jun 2020 18:18:34 +0000 (02:18 +0800)
committerJeffery To <jeffery.to@gmail.com>
Sun, 28 Jun 2020 18:24:52 +0000 (02:24 +0800)
commitd73fe8ebc31999e21ab884a1d7afa3a297d2dc9d
tree9ed79b1800a707008758b34df05660b580363f8d
parentdf891a50c5a3b836dcc7c996686fb337858ad494
golang: Evaluate "go install" arguments during Build/Compile

This evaluates the arguments passed to "go install" during Build/Compile
rather than when golang-package.mk is included.

This also changes build directory-related variables to be recursively
expanded, because PKG_BUILD_DIR depends on BUILD_VARIANT and so can
change during different runs of Build/Compile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/golang/golang-package.mk