poky/meta/recipes-devtools/go/go-dep_0.3.2.bb
Otavio Salvador 5840ae6d13 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>
2018-01-22 10:39:09 +00:00

22 lines
692 B
BlitzBasic

SUMMARY = "Dependency management tool for Golang"
HOMEPAGE = "https://github.com/golang/dep"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d"
GO_IMPORT = "github.com/golang/dep"
SRC_URI = "git://${GO_IMPORT} \
file://0001-use-a-smaller-constant-that-hopefully-works-the-same.patch;patchdir=src/github.com/golang/dep \
file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \
"
# Points to 0.3.2 tag
SRCREV = "8ddfc8afb2d520d41997ebddd921b52152706c01"
inherit go
GO_INSTALL = "${GO_IMPORT}/cmd/dep"
RDEPENDS_${PN}-dev += "bash"
BBCLASSEXTEND = "native nativesdk"