[OE-core] [PATCH] go-dep: Add native and nativesdk variants

Otavio Salvador otavio at ossystems.com.br
Thu Jan 18 13:24:41 UTC 2018


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 at ossystems.com.br>
---

 meta/recipes-devtools/go/go-dep_0.3.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/go/go-dep_0.3.2.bb b/meta/recipes-devtools/go/go-dep_0.3.2.bb
index 627324a1df..cdf6da1593 100644
--- a/meta/recipes-devtools/go/go-dep_0.3.2.bb
+++ b/meta/recipes-devtools/go/go-dep_0.3.2.bb
@@ -17,3 +17,5 @@ inherit go
 GO_INSTALL = "${GO_IMPORT}/cmd/dep"
 
 RDEPENDS_${PN}-dev += "bash"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.15.1




More information about the Openembedded-core mailing list