diff options
Diffstat (limited to 'meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb')
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb new file mode 100644 index 00000000..78e5415e --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2024.2.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | BBCLASSEXTEND = "nativesdk" | ||
| 2 | |||
| 3 | require qemu-xilinx-2024.2.inc | ||
| 4 | require qemu-8.1.inc | ||
| 5 | require qemu-xilinx-8.1.inc | ||
| 6 | require qemu-alt.inc | ||
| 7 | |||
| 8 | # Links to libmali-xlnx, so it becomes MACHINE_ARCH specific | ||
| 9 | DEFAULT_PACKAGE_ARCH := "${PACKAGE_ARCH}" | ||
| 10 | MALI_PACKAGE_ARCH[vardepsexclude] = "MACHINE_ARCH" | ||
| 11 | MALI_PACKAGE_ARCH = "${@'${MACHINE_ARCH}' if d.getVar('PREFERRED_PROVIDER_virtual/libgles1') == 'libmali-xlnx' else '${DEFAULT_PACKAGE_ARCH}'}" | ||
| 12 | PACKAGE_ARCH[vardepsexclude] = "MALI_PACKAGE_ARCH" | ||
| 13 | PACKAGE_ARCH:class-target = "${@bb.utils.contains_any('DEPENDS', 'libepoxy virglrenderer', '${MALI_PACKAGE_ARCH}', '${DEFAULT_PACKAGE_ARCH}', d)}" | ||
| 14 | |||
| 15 | |||
| 16 | DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native" | ||
| 17 | |||
| 18 | DEPENDS:append:libc-musl = " libucontext" | ||
| 19 | |||
| 20 | CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" | ||
| 21 | |||
| 22 | RDEPENDS:${PN}-common:class-target += "bash" | ||
| 23 | |||
| 24 | EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" | ||
| 25 | EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | ||
| 26 | EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | ||
| 27 | |||
| 28 | PACKAGECONFIG ??= " \ | ||
| 29 | fdt sdl kvm pie slirp gcrypt \ | ||
| 30 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio xen', d)} \ | ||
| 31 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ | ||
| 32 | ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \ | ||
| 33 | " | ||
| 34 | PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp gcrypt \ | ||
| 35 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ | ||
| 36 | " | ||
| 37 | # ppc32 hosts are no longer supported in qemu | ||
| 38 | COMPATIBLE_HOST:powerpc = "null" | ||
