1BBCLASSEXTEND = "nativesdk"
2
3require qemu.inc
4
5DEPENDS += "glib-2.0 zlib pixman"
6
7DEPENDS:append:libc-musl = " libucontext"
8
9CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
10
11RDEPENDS:${PN}-common:class-target += "bash"
12
13EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}"
14EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
15EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
16
17PACKAGECONFIG ??= " \
18    fdt sdl kvm pie slirp \
19    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio xen', d)} \
20    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
21    ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
22"
23PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \
24    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
25"
26# ppc32 hosts are no longer supported in qemu
27COMPATIBLE_HOST:powerpc = "null"
28