[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7672/8267] go: enable nativesdk builds for the toolchain



commit 065bd819e1d4bf06b74253120153fd2a7593a059
Author: Matt Madison <matt@madison.systems>
Date:   Tue Sep 12 09:50:28 2017 -0300

    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>

 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 5984a60..0d80bf0 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]