diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu_4.2.0.bb')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_4.2.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_4.2.0.bb b/meta/recipes-devtools/qemu/qemu_4.2.0.bb new file mode 100644 index 0000000000..f0c1daabe1 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu_4.2.0.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | BBCLASSEXTEND = "nativesdk" | ||
2 | |||
3 | require qemu.inc | ||
4 | |||
5 | # error: a parameter list without types is only allowed in a function definition | ||
6 | # void (*_function)(sigval_t); | ||
7 | COMPATIBLE_HOST_libc-musl = 'null' | ||
8 | |||
9 | DEPENDS = "glib-2.0 zlib pixman bison-native" | ||
10 | |||
11 | RDEPENDS_${PN}_class-target += "bash" | ||
12 | |||
13 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" | ||
14 | EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | ||
15 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | ||
16 | |||
17 | do_install_append_class-nativesdk() { | ||
18 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} | ||
19 | } | ||
20 | |||
21 | PACKAGECONFIG ??= " \ | ||
22 | fdt sdl kvm \ | ||
23 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \ | ||
24 | " | ||
25 | PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm" | ||