golang: Reorganize GoPackage/Environment and Makefile variables
authorJeffery To <redacted>
Tue, 4 Feb 2020 13:48:08 +0000 (21:48 +0800)
committerJeffery To <redacted>
Wed, 5 Feb 2020 06:19:34 +0000 (14:19 +0800)
commit89d3f0ab54a0a1d22a0ce5903fc5067fdc64bbc0
treee66246521dbfa50ec78966c4204cff3944c8cc6f
parent3bc32984267997098a785e2c0ce5cc4942fb45e8
golang: Reorganize GoPackage/Environment and Makefile variables

* Move more environment variables into GoPackage/Environment
* Split GoPackage/Environment into target and build sections
* Do not set GOROOT_FINAL for Go packages (setting it should only affect
  the Go compiler and not Go packages)
* Set CGO_LDFLAGS to $(TARGET_LDFLAGS)
* Move GO_TARGET_* variables from golang-values.mk, and GO_VERSION_*
  variables from golang-version.mk, into golang/Makefile

This also updates runc, containerd, and docker-ce to reflect the changes
in GoPackage/Environment.

Signed-off-by: Jeffery To <redacted>
lang/golang/golang-package.mk
lang/golang/golang-values.mk
lang/golang/golang-version.mk [deleted file]
lang/golang/golang/Makefile
utils/containerd/Makefile
utils/docker-ce/Makefile
utils/runc/Makefile
git clone https://git.99rst.org/PROJECT