summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-10-30 14:32:42 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-07 23:08:55 +0000
commit09e1916ef6a9f8141e51e7b79e2b4528fce02811 (patch)
tree41483d8cb5d84bc767d1a5769d8b511ea804e4c8 /meta
parentfc3af664f3ddfe5b6d20ac4469cb2ff52ba565d4 (diff)
downloadpoky-09e1916ef6a9f8141e51e7b79e2b4528fce02811.tar.gz
go-dep: disable PTEST_ENABLED for mips and mips64
The current go-dep does not compile ptest successfully on mips and mips64. So as a workaround, disable PTEST_ENABLED explicitly to avoid error like below. | vet config not found (From OE-Core rev: 786322ec408e2ef5cd6fb809456e0453e5f5e162) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/go/go-dep_0.5.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-dep_0.5.0.bb b/meta/recipes-devtools/go/go-dep_0.5.0.bb
index f0ce60a8ec..cfc2186b31 100644
--- a/meta/recipes-devtools/go/go-dep_0.5.0.bb
+++ b/meta/recipes-devtools/go/go-dep_0.5.0.bb
@@ -28,3 +28,8 @@ INSANE_SKIP_${PN} += "textrel"
28# http://errors.yoctoproject.org/Errors/Details/185632/ 28# http://errors.yoctoproject.org/Errors/Details/185632/
29# ERROR: QA Issue: ELF binary '/work/aarch64-oe-linux/go-dep/0.4.1-r0/packages-split/go-dep-ptest/usr/lib/go-dep/ptest/github.com/golang/dep/cmd/dep/dep.test' has relocations in .text [textrel] 29# ERROR: QA Issue: ELF binary '/work/aarch64-oe-linux/go-dep/0.4.1-r0/packages-split/go-dep-ptest/usr/lib/go-dep/ptest/github.com/golang/dep/cmd/dep/dep.test' has relocations in .text [textrel]
30INSANE_SKIP_${PN}-ptest += "textrel" 30INSANE_SKIP_${PN}-ptest += "textrel"
31
32# For compiling ptest on mips and mips64, the current go-dep version fails with the go 1.11 toolchain.
33# error message: vet config not found
34PTEST_ENABLED_mips = "0"
35PTEST_ENABLED_mips64 = "0"