summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-dep_0.3.0.bb
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2017-09-08 18:04:42 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:30 +0100
commit245285e3be5996aa05542c52786cbb097e61f2d9 (patch)
tree9712855c77cf4f12f54f33c7bf94d153430e36c9 /meta/recipes-devtools/go/go-dep_0.3.0.bb
parent7149219b7630cb8cfb70caf4610d4b64a4eccff3 (diff)
downloadpoky-245285e3be5996aa05542c52786cbb097e61f2d9.tar.gz
go.bbclass: add GO_INSTALL_FILTEROUT variable
When using the Go 'vendor' mechanism to bring in dependencies for a Go package, the default GO_INSTALL setting, which uses the '...' wildcard, will include the vendored packages in the build, which produces incorrect results. There are also some Go packages that are structured poorly, so that the '...' wildcard results in building example or test code that should not be included in the build, or fail to build. This patch adds a mechanism for filtering out a subset of the sources. It defaults to filtering out everything under the 'vendor' subdirectory under package's main directory, which is the normal location for vendored packages, but can be overridden by a recipe to filter out other subdirectories, if needed. (From OE-Core rev: 9819353726d85780546158428bd97a253705017d) 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>
Diffstat (limited to 'meta/recipes-devtools/go/go-dep_0.3.0.bb')
0 files changed, 0 insertions, 0 deletions