diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2022-01-21 13:09:07 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-01-23 12:17:00 -0800 |
| commit | 82c8812822e27a80b7ac87cb2ff99884be88816b (patch) | |
| tree | 09630cad87fd1fcc2b32ce43788a75f377f13882 | |
| parent | dc229b0df3cfa49813bd85e968e653088afea2e3 (diff) | |
| download | meta-xilinx-82c8812822e27a80b7ac87cb2ff99884be88816b.tar.gz | |
base-pdi: Move COMPATIBLE_MACHINE to .*
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb | 2 | ||||
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-uenv.bb | 14 |
2 files changed, 2 insertions, 14 deletions
diff --git a/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb b/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb index 4e940642..aa2c550e 100644 --- a/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb | |||
| @@ -5,7 +5,7 @@ LICENSE = "CLOSED" | |||
| 5 | PROVIDES = "virtual/base-pdi" | 5 | PROVIDES = "virtual/base-pdi" |
| 6 | 6 | ||
| 7 | COMPATIBLE_MACHINE = "^$" | 7 | COMPATIBLE_MACHINE = "^$" |
| 8 | COMPATIBLE_MACHINE:versal = "versal" | 8 | COMPATIBLE_MACHINE:versal = ".*" |
| 9 | 9 | ||
| 10 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" | 10 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" |
| 11 | 11 | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-uenv.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-uenv.bb index e35c0e30..4e02cb40 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-uenv.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-uenv.bb | |||
| @@ -4,19 +4,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
| 4 | 4 | ||
| 5 | INHIBIT_DEFAULT_DEPS = "1" | 5 | INHIBIT_DEFAULT_DEPS = "1" |
| 6 | 6 | ||
| 7 | python () { | 7 | DEPENDS:append := "virtual/kernel ${@oe.utils.str_filter_out(d.getVar("BPN"), d.getVar("EXTRA_IMAGEDEPENDS"), d)}" |
| 8 | # The device trees must be populated in the deploy directory to correctly | ||
| 9 | # detect them and their names. This means that this recipe needs to depend | ||
| 10 | # on those deployables just like the image recipe does. | ||
| 11 | deploydeps = ["virtual/kernel"] | ||
| 12 | for i in (d.getVar("EXTRA_IMAGEDEPENDS") or "").split(): | ||
| 13 | if i != d.getVar("BPN"): | ||
| 14 | deploydeps.append(i) | ||
| 15 | |||
| 16 | # add as DEPENDS since the targets might not have do_deploy tasks | ||
| 17 | if len(deploydeps) != 0: | ||
| 18 | d.appendVar("DEPENDS", " " + " ".join(deploydeps)) | ||
| 19 | } | ||
| 20 | 8 | ||
| 21 | COMPATIBLE_MACHINE = "^$" | 9 | COMPATIBLE_MACHINE = "^$" |
| 22 | COMPATIBLE_MACHINE:zynq = ".*" | 10 | COMPATIBLE_MACHINE:zynq = ".*" |
