mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 11:13:04 +01:00
This adds a smoke check for whether the rust toolchain actually produces working executables across a range of architectures. (From OE-Core rev: 14bb638b0df7acfa6aa89abf4625357f8cde886b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
64 lines
1.2 KiB
BlitzBasic
64 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 ?= ""
|
|
|
|
RUSTTOOLS ?= "rust-hello-world"
|
|
|
|
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} \
|
|
${RUSTTOOLS} \
|
|
"
|