summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian.inc1
-rw-r--r--meta/recipes-devtools/go/go-cross.inc2
-rw-r--r--meta/recipes-devtools/go/go-runtime.inc1
-rw-r--r--meta/recipes-devtools/go/go-target.inc1
4 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-cross-canadian.inc b/meta/recipes-devtools/go/go-cross-canadian.inc
index e22914e7aa..4a43d831fa 100644
--- a/meta/recipes-devtools/go/go-cross-canadian.inc
+++ b/meta/recipes-devtools/go/go-cross-canadian.inc
@@ -41,6 +41,7 @@ export GOARCH="${TARGET_GOARCH}"
41export GOOS="${TARGET_GOOS}" 41export GOOS="${TARGET_GOOS}"
42test -n "\$GOARM" || export GOARM="${TARGET_GOARM}" 42test -n "\$GOARM" || export GOARM="${TARGET_GOARM}"
43test -n "\$GO386" || export GO386="${TARGET_GO386}" 43test -n "\$GO386" || export GO386="${TARGET_GO386}"
44test -n "\$GOMIPS" || export GOMIPS="${TARGET_GOMIPS}"
44export GOTOOLDIR="\$native_goroot/pkg/tool/${HOST_GOTUPLE}" 45export GOTOOLDIR="\$native_goroot/pkg/tool/${HOST_GOTUPLE}"
45test -n "\$GOROOT" || export GOROOT="\$OECORE_TARGET_SYSROOT/${target_libdir}/go" 46test -n "\$GOROOT" || export GOROOT="\$OECORE_TARGET_SYSROOT/${target_libdir}/go"
46\$here/../../lib/${TARGET_SYS}/go/bin/$1 "\$@" 47\$here/../../lib/${TARGET_SYS}/go/bin/$1 "\$@"
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc
index fe92651581..289ae77104 100644
--- a/meta/recipes-devtools/go/go-cross.inc
+++ b/meta/recipes-devtools/go/go-cross.inc
@@ -11,6 +11,7 @@ export GOOS = "${TARGET_GOOS}"
11export GOARCH = "${TARGET_GOARCH}" 11export GOARCH = "${TARGET_GOARCH}"
12export GOARM = "${TARGET_GOARM}" 12export GOARM = "${TARGET_GOARM}"
13export GO386 = "${TARGET_GO386}" 13export GO386 = "${TARGET_GO386}"
14export GOMIPS = "${TARGET_GOMIPS}"
14export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" 15export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go"
15export GOROOT_FINAL = "${libdir}/go" 16export GOROOT_FINAL = "${libdir}/go"
16export GOCACHE = "off" 17export GOCACHE = "off"
@@ -40,6 +41,7 @@ export GOARCH="${TARGET_GOARCH}"
40export GOOS="${TARGET_GOOS}" 41export GOOS="${TARGET_GOOS}"
41export GOARM="\${GOARM:-${TARGET_GOARM}}" 42export GOARM="\${GOARM:-${TARGET_GOARM}}"
42export GO386="\${GO386:-${TARGET_GO386}}" 43export GO386="\${GO386:-${TARGET_GO386}}"
44export GOMIPS="\${GOMIPS:-${TARGET_GOMIPS}}"
43\$here/../../lib/${CROSS_TARGET_SYS_DIR}/go/bin/$1 "\$@" 45\$here/../../lib/${CROSS_TARGET_SYS_DIR}/go/bin/$1 "\$@"
44END 46END
45 chmod +x ${D}${bindir}/$2 47 chmod +x ${D}${bindir}/$2
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc
index 7a3b415b3f..0fe4566360 100644
--- a/meta/recipes-devtools/go/go-runtime.inc
+++ b/meta/recipes-devtools/go/go-runtime.inc
@@ -8,6 +8,7 @@ export GOOS = "${TARGET_GOOS}"
8export GOARCH = "${TARGET_GOARCH}" 8export GOARCH = "${TARGET_GOARCH}"
9export GOARM = "${TARGET_GOARM}" 9export GOARM = "${TARGET_GOARM}"
10export GO386 = "${TARGET_GO386}" 10export GO386 = "${TARGET_GO386}"
11export GOMIPS = "${TARGET_GOMIPS}"
11export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" 12export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go"
12export GOROOT_FINAL = "${libdir}/go" 13export GOROOT_FINAL = "${libdir}/go"
13export CGO_ENABLED = "1" 14export CGO_ENABLED = "1"
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index a53a314c78..141a456cca 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -8,6 +8,7 @@ export GOOS = "${TARGET_GOOS}"
8export GOARCH = "${TARGET_GOARCH}" 8export GOARCH = "${TARGET_GOARCH}"
9export GOARM = "${TARGET_GOARM}" 9export GOARM = "${TARGET_GOARM}"
10export GO386 = "${TARGET_GO386}" 10export GO386 = "${TARGET_GO386}"
11export GOMIPS = "${TARGET_GOMIPS}"
11export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" 12export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go"
12export GOROOT_FINAL = "${libdir}/go" 13export GOROOT_FINAL = "${libdir}/go"
13export CGO_ENABLED = "1" 14export CGO_ENABLED = "1"