blob: 76776098d076f8093a24f1e55c38e6d91cd93c13 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001BBCLASSEXTEND = "nativesdk"
2
3require qemu.inc
4
Brad Bishop15ae2502019-06-18 21:44:24 -04005DEPENDS = "glib-2.0 zlib pixman bison-native"
Brad Bishopc342db32019-05-15 21:57:59 -04006
7RDEPENDS_${PN}_class-target += "bash"
8
9EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
Brad Bishopf3fd2882019-06-21 08:06:37 -040010EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
Brad Bishopc342db32019-05-15 21:57:59 -040011EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
12
13do_install_append_class-nativesdk() {
14 ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
15}
16
17PACKAGECONFIG ??= " \
18 fdt sdl kvm \
19 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
20"
21PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm"