Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | BBCLASSEXTEND = "nativesdk" |
| 2 | |
| 3 | require qemu.inc |
| 4 | |
| 5 | DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native" |
| 6 | |
| 7 | DEPENDS:append:libc-musl = " libucontext" |
| 8 | |
| 9 | RDEPENDS:${PN}:class-target += "bash" |
| 10 | |
| 11 | EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" |
| 12 | EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" |
| 13 | EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" |
| 14 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 15 | PACKAGECONFIG ??= " \ |
| 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 | " |
| 21 | PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie \ |
| 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \ |
| 23 | " |