summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-08-17 20:51:17 -0600
committerMark Hatle <mark.hatle@amd.com>2024-09-16 11:38:57 -0500
commit592569c84cfc6c70ae2ee233c98e4462adfbd12a (patch)
treef861a03b7e2080f47b82ebbfcdcc1abaaab1d262
parent948500d1c090887481740b4c701f0604fe01a277 (diff)
downloadmeta-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>
-rw-r--r--meta-xilinx-core/conf/machine/include/machine-xilinx-qemu.inc2
-rw-r--r--meta-xilinx-core/conf/machine/versal-generic.conf1
-rw-r--r--meta-xilinx-core/conf/machine/versal-net-generic.conf1
-rw-r--r--meta-xilinx-core/conf/machine/zynqmp-generic.conf1
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc10
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"
9MACHINEOVERRIDES =. "qemuboot-xilinx:" 9MACHINEOVERRIDES =. "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
12EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot" 12EXTRA_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
15IMAGE_CLASSES += "qemuboot-xilinx" 15IMAGE_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
38EXTRA_IMAGEDEPENDS += " \ 38EXTRA_IMAGEDEPENDS += " \
39 u-boot-xlnx-scr \ 39 u-boot-xlnx-scr \
40 qemu-devicetrees:do_deploy \
41 " 40 "
42 41
43IMAGE_BOOT_FILES += " \ 42IMAGE_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
38EXTRA_IMAGEDEPENDS += " \ 38EXTRA_IMAGEDEPENDS += " \
39 u-boot-xlnx-scr \ 39 u-boot-xlnx-scr \
40 qemu-devicetrees:do_deploy \
41 " 40 "
42 41
43IMAGE_BOOT_FILES += " \ 42IMAGE_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
46EXTRA_IMAGEDEPENDS += " \ 46EXTRA_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
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
21# Don't need to do anything 21do_install[noexec] = '1'
22do_install() {
23 :
24}
25 22
26do_deploy() { 23do_deploy() {
27 # single-arch dtbs 24 # single-arch dtbs
@@ -35,4 +32,7 @@ do_deploy() {
35 done 32 done
36} 33}
37 34
38addtask deploy after do_install 35addtask deploy after do_install before do_build
36
37COMPATIBLE_HOST:class-target = "none"
38BBCLASSEXTEND = "native nativesdk"