diff options
Diffstat (limited to 'meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.1.bb')
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.1.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.1.bb new file mode 100644 index 00000000..7e985088 --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2024.1.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | BPN = "qemu-xilinx" | ||
| 2 | |||
| 3 | require qemu-system-native-alt.inc | ||
| 4 | require qemu-xilinx-2024.1.inc | ||
| 5 | require qemu-xilinx-native-8.1.inc | ||
| 6 | |||
| 7 | # As some of the files installed by qemu-native and qemu-system-native | ||
| 8 | # are the same, we depend on qemu-native to get the full installation set | ||
| 9 | # and avoid file clashes | ||
| 10 | DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native" | ||
| 11 | |||
| 12 | DEPENDS += "qemu-xilinx-multiarch-helper-native" | ||
| 13 | |||
| 14 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "fdt alsa kvm pie slirp png gcrypt \ | ||
| 17 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ | ||
| 18 | " | ||
| 19 | |||
| 20 | # Handle distros such as CentOS 5 32-bit that do not have kvm support | ||
| 21 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" | ||
| 22 | |||
| 23 | do_install:append() { | ||
| 24 | install -Dm 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu-xilinx | ||
| 25 | |||
| 26 | # The following is also installed by qemu-native | ||
| 27 | rm -f ${D}${datadir}/qemu-xilinx/trace-events-all | ||
| 28 | rm -rf ${D}${datadir}/qemu-xilinx/keymaps | ||
| 29 | rm -rf ${D}${datadir}/icons/ | ||
| 30 | rm -rf ${D}${includedir}/qemu-plugin.h | ||
| 31 | |||
| 32 | # Install qmp.py to be used with testimage | ||
| 33 | install -d ${D}${libdir}/qemu-python/qmp/ | ||
| 34 | install -D ${S}/python/qemu/qmp/* ${D}${libdir}/qemu-python/qmp/ | ||
| 35 | } | ||
