diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2025-02-07 16:30:26 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 14:16:15 -0600 |
| commit | 0b5b29ce1fd1ffa132649b0675afb6f9aa96d7e5 (patch) | |
| tree | fb92fa88a56f904f29df690f774e6874049a9f00 | |
| parent | 5cbced74e7850da51e60908b70426144aaa329cc (diff) | |
| download | meta-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.bb | 17 |
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" | |||
| 5 | PLNX_ADD_VAI_SDK = "" | 5 | PLNX_ADD_VAI_SDK = "" |
| 6 | 6 | ||
| 7 | TOOLCHAIN_TARGET_TASK = "" | 7 | TOOLCHAIN_TARGET_TASK = "" |
| 8 | TOOLCHAIN_HOST_TASK = "nativesdk-sdk-provides-dummy meta-environment-${MACHINE} nativesdk-qemu-xilinx" | 8 | TOOLCHAIN_HOST_TASK = "nativesdk-sdk-provides-dummy meta-environment-${MACHINE}" |
| 9 | |||
| 10 | # QEMU specific items | ||
| 11 | TOOLCHAIN_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 | ||
| 14 | TOOLCHAIN_HOST_TASK += "nativesdk-bootgen" | ||
| 15 | |||
| 16 | # Optional qemu-devicetrees | ||
| 17 | TOOLCHAIN_HOST_TASK += "nativesdk-qemu-devicetrees" | ||
| 18 | |||
| 19 | # Tool to work on qemuboot.conf files | ||
| 20 | TOOLCHAIN_HOST_TASK += "nativesdk-qemuboot-tool" | ||
| 9 | 21 | ||
| 10 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" | 22 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" |
| 11 | PACKAGE_ARCH = "${SDK_ARCH}_${SDK_OS}" | 23 | PACKAGE_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 |
| 57 | fi | 69 | fi |
| 58 | # We have to unset this else it can confuse oe-selftest and other tools | ||
| 59 | # which may also use the overlapping namespace. | ||
| 60 | unset OECORE_NATIVE_SYSROOT | ||
| 61 | EOF | 70 | EOF |
| 62 | 71 | ||
| 63 | if [ "${SDKMACHINE}" = "i686" ]; then | 72 | if [ "${SDKMACHINE}" = "i686" ]; then |
