[Buildroot] [PATCH 7/9] package/go: Add HOST_GO_TOOLDIR

Geoff Levand geoff at infradead.org
Thu May 12 00:08:47 UTC 2016


For the convenience of package makefiles define the
new variable HOST_GO_TOOLDIR.

Signed-off-by: Geoff Levand <geoff at infradead.org>
---
 package/go/go.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/go/go.mk b/package/go/go.mk
index 00b1d21..4a99144 100644
--- a/package/go/go.mk
+++ b/package/go/go.mk
@@ -38,6 +38,7 @@ endif
 
 HOST_GO_DEPENDENCIES = host-go-bootstrap
 HOST_GO_ROOT = $(HOST_DIR)/usr/lib/go
+HOST_GO_TOOLDIR = $(HOST_GO_ROOT)/pkg/tool/linux_$(GO_GOARCH)
 
 HOST_GO_MAKE_ENV = \
 	GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_ROOT) \
-- 
2.5.0




More information about the buildroot mailing list