mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
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>
34 lines
1.1 KiB
BlitzBasic
34 lines
1.1 KiB
BlitzBasic
BBCLASSEXTEND = "nativesdk"
|
|
|
|
require qemu.inc
|
|
|
|
# error: a parameter list without types is only allowed in a function definition
|
|
# void (*_function)(sigval_t);
|
|
COMPATIBLE_HOST_libc-musl = 'null'
|
|
|
|
DEPENDS = "glib-2.0 zlib pixman bison-native"
|
|
|
|
RDEPENDS_${PN}_class-target += "bash"
|
|
|
|
# Does not compile for -Og because that level does not clean up dead-code.
|
|
# See lockable.h.
|
|
#
|
|
DEBUG_BUILD = "0"
|
|
|
|
EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
|
|
EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
|
|
EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
|
|
|
|
do_install_append_class-nativesdk() {
|
|
${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
|
|
}
|
|
|
|
PACKAGECONFIG ??= " \
|
|
fdt sdl kvm \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '' ,d)} \
|
|
"
|
|
PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '' ,d)} \
|
|
"
|