diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-cross-canadian_1.9.bb')
| -rw-r--r-- | meta/recipes-devtools/go/go-cross-canadian_1.9.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.9.bb b/meta/recipes-devtools/go/go-cross-canadian_1.9.bb index 7ac9449e47..0306fdf684 100644 --- a/meta/recipes-devtools/go/go-cross-canadian_1.9.bb +++ b/meta/recipes-devtools/go/go-cross-canadian_1.9.bb | |||
| @@ -1,2 +1,12 @@ | |||
| 1 | require go-cross-canadian.inc | 1 | require go-cross-canadian.inc |
| 2 | require go-${PV}.inc | 2 | require go-${PV}.inc |
| 3 | |||
| 4 | export GOHOSTOS_CROSS = "${HOST_GOOS}" | ||
| 5 | export GOHOSTARCH_CROSS = "${HOST_GOARCH}" | ||
| 6 | export CC_FOR_TARGET = "${HOST_PREFIX}gcc --sysroot=${STAGING_DIR_HOST}${SDKPATHNATIVE}" | ||
| 7 | export CXX_FOR_TARGET = "${HOST_PREFIX}g++ --sysroot=${STAGING_DIR_HOST}${SDKPATHNATIVE}" | ||
| 8 | |||
| 9 | do_compile_prepend() { | ||
| 10 | export GOBIN="${B}/bin" | ||
| 11 | export TMPDIR="$GOTMPDIR" | ||
| 12 | } | ||
