summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/go/go-cross.inc')
-rw-r--r--meta/recipes-devtools/go/go-cross.inc2
1 files changed, 2 insertions, 0 deletions
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