summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2025-02-07 16:30:26 -0700
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:15 -0600
commit0b5b29ce1fd1ffa132649b0675afb6f9aa96d7e5 (patch)
treefb92fa88a56f904f29df690f774e6874049a9f00
parent5cbced74e7850da51e60908b70426144aaa329cc (diff)
downloadmeta-xilinx-0b5b29ce1fd1ffa132649b0675afb6f9aa96d7e5.tar.gz
meta-vitis-tc: meta-qemu-xilinx: Add runqemu, helpers, qemu device-trees, etc.
Allow the qemu SDK to have full access to all of the runqemu related work. This will allow someone with the SDK to use runqemu with a qemuboot.conf file. Remove 'unset OECORE_NATIVE_SYSROOT', this should only be in buildtools-tarball, not in a regular SDK. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-vitis-tc/recipes-core/meta/meta-qemu-xilinx.bb17
1 files changed, 13 insertions, 4 deletions
diff --git a/meta-vitis-tc/recipes-core/meta/meta-qemu-xilinx.bb b/meta-vitis-tc/recipes-core/meta/meta-qemu-xilinx.bb
index 06c7ff86..f44d932a 100644
--- a/meta-vitis-tc/recipes-core/meta/meta-qemu-xilinx.bb
+++ b/meta-vitis-tc/recipes-core/meta/meta-qemu-xilinx.bb
@@ -5,7 +5,19 @@ LICENSE = "MIT"
5PLNX_ADD_VAI_SDK = "" 5PLNX_ADD_VAI_SDK = ""
6 6
7TOOLCHAIN_TARGET_TASK = "" 7TOOLCHAIN_TARGET_TASK = ""
8TOOLCHAIN_HOST_TASK = "nativesdk-sdk-provides-dummy meta-environment-${MACHINE} nativesdk-qemu-xilinx" 8TOOLCHAIN_HOST_TASK = "nativesdk-sdk-provides-dummy meta-environment-${MACHINE}"
9
10# QEMU specific items
11TOOLCHAIN_HOST_TASK += "nativesdk-qemu nativesdk-qemu-xilinx nativesdk-qemu-xilinx-common nativesdk-qemu-xilinx-multiarch-helper nativesdk-qemu-helper"
12
13# Optional bootgen to hand the '-bootbin' argument of the multiarch-helper
14TOOLCHAIN_HOST_TASK += "nativesdk-bootgen"
15
16# Optional qemu-devicetrees
17TOOLCHAIN_HOST_TASK += "nativesdk-qemu-devicetrees"
18
19# Tool to work on qemuboot.conf files
20TOOLCHAIN_HOST_TASK += "nativesdk-qemuboot-tool"
9 21
10MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" 22MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
11PACKAGE_ARCH = "${SDK_ARCH}_${SDK_OS}" 23PACKAGE_ARCH = "${SDK_ARCH}_${SDK_OS}"
@@ -55,9 +67,6 @@ if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then
55 . \$envfile 67 . \$envfile
56 done 68 done
57fi 69fi
58# We have to unset this else it can confuse oe-selftest and other tools
59# which may also use the overlapping namespace.
60unset OECORE_NATIVE_SYSROOT
61EOF 70EOF
62 71
63 if [ "${SDKMACHINE}" = "i686" ]; then 72 if [ "${SDKMACHINE}" = "i686" ]; then