Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | BBCLASSEXTEND = "nativesdk" |
| 2 | |
| 3 | require qemu.inc |
| 4 | |
| 5 | DEPENDS = "glib-2.0 zlib pixman" |
| 6 | |
| 7 | RDEPENDS_${PN}_class-target += "bash" |
| 8 | |
| 9 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" |
| 10 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" |
| 11 | |
| 12 | do_install_append_class-nativesdk() { |
| 13 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} |
| 14 | } |
| 15 | |
| 16 | PACKAGECONFIG ??= " \ |
| 17 | fdt sdl kvm \ |
| 18 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \ |
| 19 | " |
| 20 | PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm" |
| 21 | |
| 22 | |