diff options
author | Sakib Sajal <sakib.sajal@windriver.com> | 2020-06-19 14:12:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-23 12:31:03 +0100 |
commit | a3102471e4e789d77040f5ed0da1b8e438328b5f (patch) | |
tree | 083c7ac42e426047f32ba8de41d0a9b24615593f /meta/recipes-devtools/qemu/qemu-system-native_5.0.0.bb | |
parent | f5bbb3ba2d65ba7911b7ede5fb32b54b5b904a07 (diff) | |
download | poky-a3102471e4e789d77040f5ed0da1b8e438328b5f.tar.gz |
qemu: uprev v4.2.0 -> v5.0.0
Major update after v4.2.
Changes:
- os_find_datadir() was changed after the v4.2 release
causing v5.0 to not find the bios and not boot the
image. Fix is sent to upstream qemu.
See: qemu/find_datadir.patch
- v5.0 binary had host contamination for dynamically linked
libraries, "--extra-ldflags='${LDFLAGS}'" in EXTRA_OECONF
resolved the issue
- bluetooth code was removed: qemu.git$ git show 1d4ffe8dc7
hence removed PACKAGECONFIG[bluez]
- -show-cursor qemu option is now deprecated, updated
scripts/runqemu to use updated option instead
- added PACKAGECONFIG definitions
- added qemu-ptest to conf/distro/include/ptest-packagelists.inc
- increased support for ARM architecture, cpu and board
- removed patches merged upstream and refreshed
existing ones
Testing:
Build core-image-minimal against the machines in
openembedded-core/meta/conf/machine and succesfully
booted with qemu v5.0
Ran qemu-ptest on x86-64 and arm64 with identical results:
PASS: 1166
SKIP: 0
FAIL: 0
(From OE-Core rev: ee9ec9e344541c1ccd9b9b8e3b8c1e00d008ad85)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-system-native_5.0.0.bb')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-system-native_5.0.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_5.0.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_5.0.0.bb new file mode 100644 index 0000000000..7394385d30 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-system-native_5.0.0.bb | |||
@@ -0,0 +1,26 @@ | |||
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 bison-native" | ||
9 | |||
10 | EXTRA_OECONF_append = " --target-list=${@get_qemu_system_target_list(d)}" | ||
11 | |||
12 | PACKAGECONFIG ??= "fdt alsa kvm \ | ||
13 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '' ,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 ${WORKDIR}/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 | } | ||