summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu_6.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu_6.1.0.bb')
-rw-r--r--meta/recipes-devtools/qemu/qemu_6.1.0.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_6.1.0.bb b/meta/recipes-devtools/qemu/qemu_6.1.0.bb
new file mode 100644
index 0000000000..f8a816b12b
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu_6.1.0.bb
@@ -0,0 +1,29 @@
1BBCLASSEXTEND = "nativesdk"
2
3require qemu.inc
4
5# error: a parameter list without types is only allowed in a function definition
6# void (*_function)(sigval_t);
7COMPATIBLE_HOST:libc-musl = 'null'
8
9DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native"
10
11RDEPENDS:${PN}:class-target += "bash"
12
13EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}"
14EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
15EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
16
17do_install:append:class-nativesdk() {
18 ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
19}
20
21PACKAGECONFIG ??= " \
22 fdt sdl kvm pie \
23 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \
25 ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
26"
27PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie \
28 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \
29"