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