diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-16 13:50:32 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-17 11:41:53 +0000 |
| commit | 4a2924a8d62d4225787388c6d4cabb4b03e142a7 (patch) | |
| tree | c8e677404148798162a997c01dea6d8174244a6e /meta/recipes-devtools/qemu/qemu-system-native_9.2.0.bb | |
| parent | ab4c066ed358102bcb48133f9af6b145d60a3a3f (diff) | |
| download | poky-4a2924a8d62d4225787388c6d4cabb4b03e142a7.tar.gz | |
qemu: Upgrade 9.1.1 -> 9.2.0
Drop two patches merged upstream.
(From OE-Core rev: 540ba2ce2f6d138b386d0d7545c197fd7f54edc8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-system-native_9.2.0.bb')
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu-system-native_9.2.0.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_9.2.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_9.2.0.bb new file mode 100644 index 0000000000..e7bbe5d291 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-system-native_9.2.0.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | BPN = "qemu" | ||
| 2 | |||
| 3 | require 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 | ||
| 8 | DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native" | ||
| 9 | |||
| 10 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" | ||
| 11 | |||
| 12 | PACKAGECONFIG ??= "fdt alsa kvm pie slirp png \ | ||
| 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ | ||
| 14 | " | ||
| 15 | |||
| 16 | # Handle distros such as CentOS 5 32-bit that do not have kvm support | ||
| 17 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" | ||
| 18 | |||
| 19 | do_install:append() { | ||
| 20 | install -Dm 0755 ${UNPACKDIR}/powerpc_rom.bin ${D}${datadir}/qemu | ||
| 21 | |||
| 22 | # The following is also installed by qemu-native | ||
| 23 | rm -f ${D}${datadir}/qemu/trace-events-all | ||
| 24 | rm -rf ${D}${datadir}/qemu/keymaps | ||
| 25 | rm -rf ${D}${datadir}/icons/ | ||
| 26 | rm -rf ${D}${includedir}/qemu-plugin.h | ||
| 27 | |||
| 28 | # Install qmp.py to be used with testimage | ||
| 29 | install -d ${D}${libdir}/qemu-python/qmp/ | ||
| 30 | install -D ${S}/python/qemu/qmp/* ${D}${libdir}/qemu-python/qmp/ | ||
| 31 | } | ||
| 32 | |||
