go-runtime: extend to nativesdk builds

Missed this when addding SDK support.

(From OE-Core rev: ee80c21d12d12dc262d4b02aaaef3b57253b25df)

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:
Matt Madison authored and Richard Purdie committed 2017-09-14 11:35:45 +01:00
1 parent 84ee53fe93
commit b75fef21d1
1 file changed
+3
+3
View File
@@ -1,4 +1,5 @@
DEPENDS = "virtual/${TARGET_PREFIX}go go-native"
DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk"
PROVIDES = "virtual/${TARGET_PREFIX}go-runtime"
export GOHOSTOS = "${BUILD_GOOS}"
@@ -56,3 +57,5 @@ INSANE_SKIP_${PN}-dev = "staticdev ldflags file-rdeps arch"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
BBCLASSEXTEND = "nativesdk"