]> code.ossystems Code Review - openembedded-core.git/commitdiff
go-dep: Add native and nativesdk variants
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 18 Jan 2018 13:24:41 +0000 (11:24 -0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Jan 2018 09:55:15 +0000 (09:55 +0000)
The go-dep must be used as native (and consequently as nativesdk)
during the build process. This adds the two variants as supported by
the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/go/go-dep_0.3.2.bb

index 627324a1df73b8805be5e0a91ad31128a88d916a..cdf6da159384e4cb39ad58421097e0c64e0a69e9 100644 (file)
@@ -17,3 +17,5 @@ inherit go
 GO_INSTALL = "${GO_IMPORT}/cmd/dep"
 
 RDEPENDS_${PN}-dev += "bash"
+
+BBCLASSEXTEND = "native nativesdk"