Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | BBCLASSEXTEND = "nativesdk" |
| 2 | |
| 3 | require qemu.inc |
| 4 | |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 5 | # error: a parameter list without types is only allowed in a function definition |
| 6 | # void (*_function)(sigval_t); |
| 7 | COMPATIBLE_HOST_libc-musl = 'null' |
| 8 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 9 | DEPENDS = "glib-2.0 zlib pixman bison-native" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 10 | |
| 11 | RDEPENDS_${PN}_class-target += "bash" |
| 12 | |
| 13 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 14 | EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 15 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" |
| 16 | |
| 17 | do_install_append_class-nativesdk() { |
| 18 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} |
| 19 | } |
| 20 | |
| 21 | PACKAGECONFIG ??= " \ |
| 22 | fdt sdl kvm \ |
| 23 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \ |
| 24 | " |
| 25 | PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm" |