diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-11-02 15:52:25 -0500 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-11-02 17:25:45 -0700 |
| commit | 4430fb09b7ac3344513885f1f589aadd36fb3d08 (patch) | |
| tree | c9ad373eee14843d84340eea9a17c214f5a0757c | |
| parent | bec566bd927f7114f8b7ca182f11f19997a0345e (diff) | |
| download | meta-xilinx-4430fb09b7ac3344513885f1f589aadd36fb3d08.tar.gz | |
qemu-xilinx: Add initial 2023.1 branch
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
4 files changed, 51 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2023.1.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2023.1.inc new file mode 100644 index 00000000..8ec3573c --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-2023.1.inc | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | XILINX_QEMU_VERSION = "v6.1.0" | ||
| 2 | BRANCH = "master" | ||
| 3 | SRCREV = "92ae42155fde97cb71d475c261e81e1359e1f7f2" | ||
| 4 | |||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2023.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2023.1.bb new file mode 100644 index 00000000..b1cb015b --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2023.1.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | require qemu-xilinx-2023.1.inc | ||
| 2 | require qemu-xilinx-native.inc | ||
| 3 | BPN = "qemu-xilinx" | ||
| 4 | |||
| 5 | EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-blobs --disable-guest-agent" | ||
| 6 | |||
| 7 | PROVIDES = "qemu-native" | ||
| 8 | PACKAGECONFIG ??= "pie" | ||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2023.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2023.1.bb new file mode 100644 index 00000000..53bea31d --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2023.1.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | require qemu-xilinx-2023.1.inc | ||
| 2 | require qemu-xilinx-native.inc | ||
| 3 | |||
| 4 | PROVIDES = "qemu-system-native" | ||
| 5 | |||
| 6 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" | ||
| 7 | |||
| 8 | PACKAGECONFIG ??= "fdt alsa kvm pie slirp" | ||
| 9 | |||
| 10 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" | ||
| 11 | |||
| 12 | DEPENDS += "pixman-native qemu-xilinx-native bison-native ninja-native meson-native" | ||
| 13 | |||
| 14 | do_install:append() { | ||
| 15 | # The following is also installed by qemu-native | ||
| 16 | rm -f ${D}${datadir}/qemu/trace-events-all | ||
| 17 | rm -rf ${D}${datadir}/qemu/keymaps | ||
| 18 | rm -rf ${D}${datadir}/icons | ||
| 19 | rm -rf ${D}${includedir}/qemu-plugin.h | ||
| 20 | } | ||
| 21 | |||
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb new file mode 100644 index 00000000..3d1335d4 --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2023.1.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | require qemu-xilinx-2023.1.inc | ||
| 2 | require recipes-devtools/qemu/qemu.inc | ||
| 3 | require qemu-xilinx.inc | ||
| 4 | |||
| 5 | BBCLASSEXTEND = "nativesdk" | ||
| 6 | |||
| 7 | RDEPENDS:${PN}:class-target += "bash" | ||
| 8 | |||
| 9 | PROVIDES:class-nativesdk = "nativesdk-qemu" | ||
| 10 | RPROVIDES:${PN}:class-nativesdk = "nativesdk-qemu" | ||
| 11 | |||
| 12 | EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" | ||
| 13 | EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | ||
| 14 | EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | ||
| 15 | |||
| 16 | do_install:append:class-nativesdk() { | ||
| 17 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} | ||
| 18 | } | ||
