summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2017-09-12 09:50:28 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-12 23:55:29 +0100
commit065bd819e1d4bf06b74253120153fd2a7593a059 (patch)
tree6d2bc356ae8dc0cff235128390471d1f92ee1ca5 /meta/recipes-devtools
parent34fa93002742ed06d5c9170315b8430328c57dfd (diff)
downloadpoky-065bd819e1d4bf06b74253120153fd2a7593a059.tar.gz
go: enable nativesdk builds for the toolchain
All that's needed is setting BBCLASSEXTEND. (From OE-Core rev: 32438dce21689f6d6352486d6ad377d86fd90a1f) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/go/go-target.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index 5984a60c28..0d80bf0d97 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -1,5 +1,6 @@
1inherit goarch 1inherit goarch
2DEPENDS = "virtual/${TARGET_PREFIX}go go-native" 2DEPENDS = "virtual/${TARGET_PREFIX}go go-native"
3DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native"
3 4
4export GOHOSTOS = "${BUILD_GOOS}" 5export GOHOSTOS = "${BUILD_GOOS}"
5export GOHOSTARCH = "${BUILD_GOARCH}" 6export GOHOSTARCH = "${BUILD_GOARCH}"
@@ -49,3 +50,5 @@ FILES_${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir
49FILES_${PN}-dev = "${libdir}/go" 50FILES_${PN}-dev = "${libdir}/go"
50RDEPENDS_${PN}-dev = "perl bash" 51RDEPENDS_${PN}-dev = "perl bash"
51INSANE_SKIP_${PN} = "ldflags" 52INSANE_SKIP_${PN} = "ldflags"
53
54BBCLASSEXTEND = "nativesdk"