summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-02-10 13:25:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-14 13:07:23 +0000
commit1e97c962f29815971cac8c22b111c95709c8ad2b (patch)
treeda75bfeb82b2c4f154c457d9135098562a3e0ef9 /meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb
parent69e3b6c80ea7cab7f8687ee223dfd29dcc2c0d75 (diff)
downloadpoky-1e97c962f29815971cac8c22b111c95709c8ad2b.tar.gz
qemu: Upgrade to 4.2.0
While we are upgrading let's refresh patches and remove the outdated patches. (From OE-Core rev: ca276b77904429a1ff3188d2373535a462afe266) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb')
-rw-r--r--meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb
new file mode 100644
index 0000000000..d83ee59375
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb
@@ -0,0 +1,24 @@
1BPN = "qemu"
2
3require qemu-native.inc
4
5# As some of the files installed by qemu-native and qemu-system-native
6# are the same, we depend on qemu-native to get the full installation set
7# and avoid file clashes
8DEPENDS = "glib-2.0-native zlib-native pixman-native qemu-native bison-native"
9
10EXTRA_OECONF_append = " --target-list=${@get_qemu_system_target_list(d)}"
11
12PACKAGECONFIG ??= "fdt alsa kvm"
13
14# Handle distros such as CentOS 5 32-bit that do not have kvm support
15PACKAGECONFIG_remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}"
16
17do_install_append() {
18 install -Dm 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu
19
20 # The following is also installed by qemu-native
21 rm -f ${D}${datadir}/qemu/trace-events-all
22 rm -rf ${D}${datadir}/qemu/keymaps
23 rm -rf ${D}${datadir}/icons/
24}