mirror of
https://git.yoctoproject.org/poky
synced 2026-02-21 00:49:41 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
34fa930027
commit
065bd819e1
@@ -1,5 +1,6 @@
|
||||
inherit goarch
|
||||
DEPENDS = "virtual/${TARGET_PREFIX}go go-native"
|
||||
DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native"
|
||||
|
||||
export GOHOSTOS = "${BUILD_GOOS}"
|
||||
export GOHOSTARCH = "${BUILD_GOARCH}"
|
||||
@@ -49,3 +50,5 @@ FILES_${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir
|
||||
FILES_${PN}-dev = "${libdir}/go"
|
||||
RDEPENDS_${PN}-dev = "perl bash"
|
||||
INSANE_SKIP_${PN} = "ldflags"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user