diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-08-17 20:51:17 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-09-16 11:38:57 -0500 |
commit | 592569c84cfc6c70ae2ee233c98e4462adfbd12a (patch) | |
tree | f861a03b7e2080f47b82ebbfcdcc1abaaab1d262 | |
parent | 948500d1c090887481740b4c701f0604fe01a277 (diff) | |
download | meta-xilinx-592569c84cfc6c70ae2ee233c98e4462adfbd12a.tar.gz |
qemu-devicetrees: Move from target to native/nativesdk package
This recipe did not provide anything useful for the target, so adjust to only
run native and nativesdk.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
5 files changed, 6 insertions, 9 deletions
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-qemu.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-qemu.inc index 9688b6f7..e75f556b 100644 --- a/meta-xilinx-core/conf/machine/include/machine-xilinx-qemu.inc +++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-qemu.inc | |||
@@ -9,7 +9,7 @@ PREFERRED_PROVIDER_nativesdk-qemu = "nativesdk-qemu-xilinx" | |||
9 | MACHINEOVERRIDES =. "qemuboot-xilinx:" | 9 | MACHINEOVERRIDES =. "qemuboot-xilinx:" |
10 | 10 | ||
11 | # depend on qemu-helper-native, which will depend on QEMU | 11 | # depend on qemu-helper-native, which will depend on QEMU |
12 | EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot" | 12 | EXTRA_IMAGEDEPENDS += "qemu-devicetrees-native qemu-system-native qemu-helper-native:do_addto_recipe_sysroot" |
13 | 13 | ||
14 | # Use the xilinx specific version for these users | 14 | # Use the xilinx specific version for these users |
15 | IMAGE_CLASSES += "qemuboot-xilinx" | 15 | IMAGE_CLASSES += "qemuboot-xilinx" |
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf index 70f5bbd3..9aa47892 100644 --- a/meta-xilinx-core/conf/machine/versal-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-generic.conf | |||
@@ -37,7 +37,6 @@ IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' | |||
37 | 37 | ||
38 | EXTRA_IMAGEDEPENDS += " \ | 38 | EXTRA_IMAGEDEPENDS += " \ |
39 | u-boot-xlnx-scr \ | 39 | u-boot-xlnx-scr \ |
40 | qemu-devicetrees:do_deploy \ | ||
41 | " | 40 | " |
42 | 41 | ||
43 | IMAGE_BOOT_FILES += " \ | 42 | IMAGE_BOOT_FILES += " \ |
diff --git a/meta-xilinx-core/conf/machine/versal-net-generic.conf b/meta-xilinx-core/conf/machine/versal-net-generic.conf index 7ea5a00f..b47f0b4b 100644 --- a/meta-xilinx-core/conf/machine/versal-net-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-net-generic.conf | |||
@@ -37,7 +37,6 @@ IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' | |||
37 | 37 | ||
38 | EXTRA_IMAGEDEPENDS += " \ | 38 | EXTRA_IMAGEDEPENDS += " \ |
39 | u-boot-xlnx-scr \ | 39 | u-boot-xlnx-scr \ |
40 | qemu-devicetrees:do_deploy \ | ||
41 | " | 40 | " |
42 | 41 | ||
43 | IMAGE_BOOT_FILES += " \ | 42 | IMAGE_BOOT_FILES += " \ |
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf index 6aa24af8..15a48102 100644 --- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf +++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf | |||
@@ -45,7 +45,6 @@ IMAGE_FSTYPES += "${@'wic.qemu-sd' if (d.getVar('INITRAMFS_IMAGE') or '') == '' | |||
45 | 45 | ||
46 | EXTRA_IMAGEDEPENDS += " \ | 46 | EXTRA_IMAGEDEPENDS += " \ |
47 | virtual/bootloader \ | 47 | virtual/bootloader \ |
48 | qemu-devicetrees:do_deploy \ | ||
49 | u-boot-xlnx-uenv \ | 48 | u-boot-xlnx-uenv \ |
50 | u-boot-xlnx-scr \ | 49 | u-boot-xlnx-scr \ |
51 | " | 50 | " |
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc index e98f483b..c002c6c1 100644 --- a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc | |||
@@ -18,10 +18,7 @@ SRC_URI += "file://0001-versal-Reorder-serial-ports.patch" | |||
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
20 | 20 | ||
21 | # Don't need to do anything | 21 | do_install[noexec] = '1' |
22 | do_install() { | ||
23 | : | ||
24 | } | ||
25 | 22 | ||
26 | do_deploy() { | 23 | do_deploy() { |
27 | # single-arch dtbs | 24 | # single-arch dtbs |
@@ -35,4 +32,7 @@ do_deploy() { | |||
35 | done | 32 | done |
36 | } | 33 | } |
37 | 34 | ||
38 | addtask deploy after do_install | 35 | addtask deploy after do_install before do_build |
36 | |||
37 | COMPATIBLE_HOST:class-target = "none" | ||
38 | BBCLASSEXTEND = "native nativesdk" | ||