diff options
author | Geoff Levand <geoff@infradead.org> | 2016-05-12 00:08:46 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-12 16:06:57 +0200 |
commit | def633c4c5b339d13ef221cfa5c202aaf9989f91 (patch) | |
tree | 8c9d8822fb3f2c436472371f6457e95c7f779a97 /package/go-bootstrap/go-bootstrap.mk | |
parent | 781ce19d746efb6a5408b4d50b30626784eff324 (diff) | |
download | buildroot-def633c4c5b339d13ef221cfa5c202aaf9989f91.tar.gz buildroot-def633c4c5b339d13ef221cfa5c202aaf9989f91.zip |
package/go-bootstrap: Add toolchain dependency
To build programs that need cgo support the toolchain needs to
be available.
Cc: Christian Stewart <christian@paral.in>
Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas: add comment in the code about the toolchain dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/go-bootstrap/go-bootstrap.mk')
-rw-r--r-- | package/go-bootstrap/go-bootstrap.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/go-bootstrap/go-bootstrap.mk b/package/go-bootstrap/go-bootstrap.mk index e404cb6966..fd23628941 100644 --- a/package/go-bootstrap/go-bootstrap.mk +++ b/package/go-bootstrap/go-bootstrap.mk @@ -11,6 +11,12 @@ GO_BOOTSTRAP_SOURCE = go$(GO_BOOTSTRAP_VERSION).src.tar.gz GO_BOOTSTRAP_LICENSE = BSD-3c GO_BOOTSTRAP_LICENSE_FILES = LICENSE +# To build programs that need cgo support the toolchain needs to be +# available, so the toolchain is not needed to build host-go-bootstrap +# itself, but needed by other packages that depend on +# host-go-bootstrap. +HOST_GO_BOOTSTRAP_DEPENDENCIES = toolchain + HOST_GO_BOOTSTRAP_ROOT = $(HOST_DIR)/usr/lib/go-$(GO_BOOTSTRAP_VERSION) HOST_GO_BOOTSTRAP_MAKE_ENV = \ |