go-dep: Add native and nativesdk variants

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.

(From OE-Core rev: 2d3084efdcba282388048981ee3a68672241e4df)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Otavio Salvador
2018-01-18 11:24:41 -02:00
committed by Richard Purdie
parent 289020cc23
commit 5840ae6d13

View File

@@ -17,3 +17,5 @@ inherit go
GO_INSTALL = "${GO_IMPORT}/cmd/dep"
RDEPENDS_${PN}-dev += "bash"
BBCLASSEXTEND = "native nativesdk"