diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/go/go-cross.inc')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-devtools/go/go-cross.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/go/go-cross.inc b/import-layers/yocto-poky/meta/recipes-devtools/go/go-cross.inc new file mode 100644 index 0000000000..93206a5d05 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-devtools/go/go-cross.inc @@ -0,0 +1,18 @@ +inherit cross + +DEPENDS += "gcc-cross-${TARGET_ARCH}" + +PN = "go-cross-${TARGET_ARCH}" + +# Ignore how TARGET_ARCH is computed. +TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}" + +FILESEXTRAPATHS =. "${FILE_DIRNAME}/go-cross:" + +GOROOT_FINAL = "${libdir}/go" +export GOROOT_FINAL + +# x32 ABI is not supported on go compiler so far +COMPATIBLE_HOST_linux-gnux32 = "null" +# ppc32 is not supported in go compilers +COMPATIBLE_HOST_powerpc = "null" |