diff options
author | Matt Madison <matt@madison.systems> | 2017-09-12 09:50:28 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-12 23:55:29 +0100 |
commit | 065bd819e1d4bf06b74253120153fd2a7593a059 (patch) | |
tree | 6d2bc356ae8dc0cff235128390471d1f92ee1ca5 /meta/recipes-devtools | |
parent | 34fa93002742ed06d5c9170315b8430328c57dfd (diff) | |
download | poky-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.inc | 3 |
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 @@ | |||
1 | inherit goarch | 1 | inherit goarch |
2 | DEPENDS = "virtual/${TARGET_PREFIX}go go-native" | 2 | DEPENDS = "virtual/${TARGET_PREFIX}go go-native" |
3 | DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native" | ||
3 | 4 | ||
4 | export GOHOSTOS = "${BUILD_GOOS}" | 5 | export GOHOSTOS = "${BUILD_GOOS}" |
5 | export GOHOSTARCH = "${BUILD_GOARCH}" | 6 | export GOHOSTARCH = "${BUILD_GOARCH}" |
@@ -49,3 +50,5 @@ FILES_${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir | |||
49 | FILES_${PN}-dev = "${libdir}/go" | 50 | FILES_${PN}-dev = "${libdir}/go" |
50 | RDEPENDS_${PN}-dev = "perl bash" | 51 | RDEPENDS_${PN}-dev = "perl bash" |
51 | INSANE_SKIP_${PN} = "ldflags" | 52 | INSANE_SKIP_${PN} = "ldflags" |
53 | |||
54 | BBCLASSEXTEND = "nativesdk" | ||