mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 18:09:40 +01:00
go-helloworld is not compatible with riscv32 and causes error:
| ERROR: Nothing RPROVIDES 'go-helloworld' (but
meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
RDEPENDS on or otherwise requires it)
| go-helloworld was skipped: Unsupported CPU architecture: riscv32
Clear GOTOOLS for riscv32 in recipe packagegroup-core-tools-testapps.
(From OE-Core rev: 16a730c803baef51b9475fbb67ece2d2c494d140)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
61 lines
1.2 KiB
BlitzBasic
61 lines
1.2 KiB
BlitzBasic
#
|
|
# Copyright (C) 2008 OpenedHand Ltd.
|
|
#
|
|
|
|
SUMMARY = "Testing tools/applications"
|
|
|
|
PR = "r2"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
inherit packagegroup
|
|
|
|
# kexec-tools doesn't work on e5500-64b, microblaze and nios2 yet
|
|
KEXECTOOLS ?= "kexec"
|
|
KEXECTOOLS:e5500-64b ?= ""
|
|
KEXECTOOLS:microblaze ?= ""
|
|
KEXECTOOLS:nios2 ?= ""
|
|
KEXECTOOLS:riscv64 ?= ""
|
|
KEXECTOOLS:riscv32 ?= ""
|
|
|
|
# go does not support ppc32, only ppc64
|
|
# https://github.com/golang/go/issues/22885
|
|
# gccgo may do better
|
|
GOTOOLS ?= "go-helloworld"
|
|
GOTOOLS:powerpc ?= ""
|
|
GOTOOLS:riscv32 ?= ""
|
|
|
|
GSTEXAMPLES ?= "gst-examples"
|
|
GSTEXAMPLES:riscv64 = ""
|
|
|
|
X11GLTOOLS = "\
|
|
mesa-demos \
|
|
"
|
|
|
|
3GTOOLS = "\
|
|
ofono-tests \
|
|
"
|
|
|
|
X11TOOLS = "\
|
|
${GSTEXAMPLES} \
|
|
x11perf \
|
|
xrestop \
|
|
xwininfo \
|
|
xprop \
|
|
"
|
|
|
|
RDEPENDS:${PN} = "\
|
|
blktool \
|
|
${KEXECTOOLS} \
|
|
alsa-utils-amixer \
|
|
alsa-utils-aplay \
|
|
ltp \
|
|
connman-tools \
|
|
connman-tests \
|
|
connman-client \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${X11TOOLS}", "", d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \
|
|
${GOTOOLS} \
|
|
"
|