summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/packagegroups
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-11-27 10:53:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-29 23:07:13 +0000
commit375c82ad0046eb3d0520cd8335e7472b45d13a48 (patch)
tree7fb92a8c8df9ce5b1aeb92494264a00f663f8e12 /meta/recipes-core/packagegroups
parent278cb0fc0725fbfdcafd3b3afcfb7c7c6a4eee14 (diff)
downloadpoky-375c82ad0046eb3d0520cd8335e7472b45d13a48.tar.gz
go-helloworld: test at runtime
This adds a smoke check for whether the Go toolchain actually produces working executables across a range of architectures. (From OE-Core rev: 2819bb2cf22c6cfcaeaee79f0280097ec9cb9327) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/packagegroups')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
index 94405fd8fe..e8f0811485 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
@@ -18,6 +18,12 @@ KEXECTOOLS:nios2 ?= ""
18KEXECTOOLS:riscv64 ?= "" 18KEXECTOOLS:riscv64 ?= ""
19KEXECTOOLS:riscv32 ?= "" 19KEXECTOOLS:riscv32 ?= ""
20 20
21# go does not support ppc32, only ppc64
22# https://github.com/golang/go/issues/22885
23# gccgo may do better
24GOTOOLS ?= "go-helloworld"
25GOTOOLS:powerpc ?= ""
26
21GSTEXAMPLES ?= "gst-examples" 27GSTEXAMPLES ?= "gst-examples"
22GSTEXAMPLES:riscv64 = "" 28GSTEXAMPLES:riscv64 = ""
23 29
@@ -49,4 +55,5 @@ RDEPENDS:${PN} = "\
49 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \ 55 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
50 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \ 56 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \
51 ${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \ 57 ${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \
58 ${GOTOOLS} \
52 " 59 "