mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Handles CVE-2024-8354. Drop patch included in (backported to) this release. Reference: * https://security-tracker.debian.org/tracker/CVE-2024-8354 (From OE-Core rev: f9d2e0155df2fe799e5edd0b52097ee284930ba5) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
1.1 KiB
BlitzBasic
29 lines
1.1 KiB
BlitzBasic
BBCLASSEXTEND = "nativesdk"
|
|
|
|
require qemu.inc
|
|
|
|
DEPENDS += "glib-2.0 zlib pixman"
|
|
|
|
DEPENDS:append:libc-musl = " libucontext"
|
|
|
|
CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
|
|
LDFLAGS:append:toolchain-clang:x86 = " -latomic"
|
|
|
|
RDEPENDS:${PN}-common:class-target += "bash"
|
|
|
|
EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}"
|
|
EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
|
|
EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
|
|
|
|
PACKAGECONFIG ??= " \
|
|
fdt sdl kvm pie slirp \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio xen', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
|
|
"
|
|
PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
|
|
"
|
|
# ppc32 hosts are no longer supported in qemu
|
|
COMPATIBLE_HOST:powerpc = "null"
|