blob: 062ed32b01502dd19db2ebffabfbbf3e1988a4aa [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001BBCLASSEXTEND = "nativesdk"
2
3require qemu.inc
4
5DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native"
6
7DEPENDS:append:libc-musl = " libucontext"
8
9RDEPENDS:${PN}:class-target += "bash"
10
11EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}"
12EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
13EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
14
Andrew Geissler595f6302022-01-24 19:11:47 +000015PACKAGECONFIG ??= " \
16 fdt sdl kvm pie \
17 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
18 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \
19 ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
20"
21PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie \
22 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \
23"