From: Matt Madison Date: Tue, 12 Sep 2017 12:50:28 +0000 (-0300) Subject: go: enable nativesdk builds for the toolchain X-Git-Tag: yocto-4.0~15580 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32438dce21689f6d6352486d6ad377d86fd90a1f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git go: enable nativesdk builds for the toolchain All that's needed is setting BBCLASSEXTEND. Signed-off-by: Matt Madison Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc index 5984a60c283..0d80bf0d97f 100644 --- a/meta/recipes-devtools/go/go-target.inc +++ b/meta/recipes-devtools/go/go-target.inc @@ -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"