diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-12-18 20:26:09 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2021-12-22 08:19:01 -0800 |
| commit | f56bd29c4bc5944cc774fc8e318bb7664e92e54b (patch) | |
| tree | 5c8f3233c14991b8444921059e64107fec1d56da | |
| parent | bf738f3461a6ff9bc375ca013e129cd00f3c8992 (diff) | |
| download | meta-xilinx-f56bd29c4bc5944cc774fc8e318bb7664e92e54b.tar.gz | |
Move away from PACKAGE_ARCH = "BOARD_ARCH" or "BOARDVARIANT_ARCH"
PACKAGE_ARCH should not be MACHINE_ARCH, unless a specific override is
being used for compatibility.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
17 files changed, 17 insertions, 53 deletions
diff --git a/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc b/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc index 98f04158..7cbc5f54 100644 --- a/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc +++ b/meta-xilinx-bsp/conf/machine/include/board/ultra96.inc | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | # Ultra96 items that need to be configured from zynqmp-generic | 1 | # Ultra96 items that need to be configured from zynqmp-generic |
| 2 | PACKAGE_ARCH:pn-linux-xlnx:ultra96 = "${BOARDVARIANT_ARCH}" | ||
| 3 | KERNEL_DEVICETREE:ultra96 = "xilinx/zynqmp-zcu100-revC.dtb" | 2 | KERNEL_DEVICETREE:ultra96 = "xilinx/zynqmp-zcu100-revC.dtb" |
| 4 | 3 | ||
| 5 | # Affects meta-xilinx-tools xsctyaml.bbclass related items | 4 | # Affects meta-xilinx-tools xsctyaml.bbclass related items |
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc index e8fd8bd5..4011ddfe 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | |||
| @@ -28,14 +28,12 @@ inherit image-artifact-names | |||
| 28 | 28 | ||
| 29 | ATF_BASE_NAME ?= "${PN}-${PKGE}-${PKGV}-${PKGR}${IMAGE_VERSION_SUFFIX}" | 29 | ATF_BASE_NAME ?= "${PN}-${PKGE}-${PKGV}-${PKGR}${IMAGE_VERSION_SUFFIX}" |
| 30 | 30 | ||
| 31 | # Specify a default in case boardvariant isn't available | ||
| 32 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 33 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 34 | |||
| 35 | COMPATIBLE_MACHINE ?= "^$" | 31 | COMPATIBLE_MACHINE ?= "^$" |
| 36 | COMPATIBLE_MACHINE:zynqmp = ".*" | 32 | COMPATIBLE_MACHINE:zynqmp = ".*" |
| 37 | COMPATIBLE_MACHINE:versal = ".*" | 33 | COMPATIBLE_MACHINE:versal = ".*" |
| 38 | 34 | ||
| 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 36 | |||
| 39 | PLATFORM:zynqmp = "zynqmp" | 37 | PLATFORM:zynqmp = "zynqmp" |
| 40 | PLATFORM:versal = "versal" | 38 | PLATFORM:versal = "versal" |
| 41 | 39 | ||
diff --git a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb index 532da106..2595f2c4 100644 --- a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | |||
| @@ -16,9 +16,7 @@ DEPENDS += "bootgen-native" | |||
| 16 | # There is no bitstream recipe, so really depend on virtual/bitstream | 16 | # There is no bitstream recipe, so really depend on virtual/bitstream |
| 17 | DEPENDS += "${@(d.getVar('BIF_PARTITION_ATTR') or "").replace('bitstream', 'virtual/bitstream')}" | 17 | DEPENDS += "${@(d.getVar('BIF_PARTITION_ATTR') or "").replace('bitstream', 'virtual/bitstream')}" |
| 18 | 18 | ||
| 19 | # Specify a default in case boardvariant isn't available | 19 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 20 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 21 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 22 | 20 | ||
| 23 | BIF_FILE_PATH ?= "${B}/bootgen.bif" | 21 | BIF_FILE_PATH ?= "${B}/bootgen.bif" |
| 24 | 22 | ||
diff --git a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb index 27f008f8..626a9cb1 100644 --- a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb +++ b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb | |||
| @@ -20,10 +20,6 @@ DT_FILES_PATH = "${@os.path.dirname(d.getVar('SYSTEM_DTFILE')) if d.getVar('SYST | |||
| 20 | COMPATIBLE_MACHINE:zynqmp = ".*" | 20 | COMPATIBLE_MACHINE:zynqmp = ".*" |
| 21 | COMPATIBLE_MACHINE:versal = ".*" | 21 | COMPATIBLE_MACHINE:versal = ".*" |
| 22 | 22 | ||
| 23 | # Device-trees are inherently board specific | ||
| 24 | BOARD_ARCH ??= "${MACHINE_ARCH}" | ||
| 25 | PACKAGE_ARCH = "${BOARD_ARCH}" | ||
| 26 | |||
| 27 | DEPENDS += "python3-dtc-native" | 23 | DEPENDS += "python3-dtc-native" |
| 28 | 24 | ||
| 29 | PROVIDES = "virtual/dtb" | 25 | PROVIDES = "virtual/dtb" |
diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/fsbl.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/fsbl.bb index 2fa71309..ae2123e7 100644 --- a/meta-xilinx-core/recipes-bsp/embeddedsw/fsbl.bb +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/fsbl.bb | |||
| @@ -10,9 +10,7 @@ COMPATIBLE_MACHINE = "^$" | |||
| 10 | COMPATIBLE_MACHINE:zynq = "zynq" | 10 | COMPATIBLE_MACHINE:zynq = "zynq" |
| 11 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | 11 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
| 12 | 12 | ||
| 13 | # Specify a default in case boardvariant isn't available | 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 15 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 16 | 14 | ||
| 17 | # Default would be a multiconfig (versal) build | 15 | # Default would be a multiconfig (versal) build |
| 18 | # For this to work, BBMULTICONFIG += "fsbl-fw" must be in the user's local.conf! | 16 | # For this to work, BBMULTICONFIG += "fsbl-fw" must be in the user's local.conf! |
diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb index 70d234c9..6a2a5172 100644 --- a/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/plmfw.bb | |||
| @@ -10,9 +10,7 @@ INHERIT_DEFAULT_DEPENDS = "1" | |||
| 10 | COMPATIBLE_MACHINE = "^$" | 10 | COMPATIBLE_MACHINE = "^$" |
| 11 | COMPATIBLE_MACHINE:versal = "versal" | 11 | COMPATIBLE_MACHINE:versal = "versal" |
| 12 | 12 | ||
| 13 | # Specify a default in case boardvariant isn't available | 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 15 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 16 | 14 | ||
| 17 | # Default would be a multiconfig (versal) build | 15 | # Default would be a multiconfig (versal) build |
| 18 | # For this to work, BBMULTICONFIG += "versal-fw" must be in the user's local.conf! | 16 | # For this to work, BBMULTICONFIG += "versal-fw" must be in the user's local.conf! |
diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/pmufw.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/pmufw.bb index 7371127c..ea0eb5a6 100644 --- a/meta-xilinx-core/recipes-bsp/embeddedsw/pmufw.bb +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/pmufw.bb | |||
| @@ -9,9 +9,7 @@ INHERIT_DEFAULT_DEPENDS = "1" | |||
| 9 | COMPATIBLE_MACHINE = "^$" | 9 | COMPATIBLE_MACHINE = "^$" |
| 10 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | 10 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" |
| 11 | 11 | ||
| 12 | # Specify a default in case boardvariant isn't available | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 13 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 14 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 15 | 13 | ||
| 16 | # Default would be a multiconfig (zynqmp-pmufw) build | 14 | # Default would be a multiconfig (zynqmp-pmufw) build |
| 17 | # For this to work, BBMULTICONFIG += "zynqmp-pmufw" must be in the user's local.conf! | 15 | # For this to work, BBMULTICONFIG += "zynqmp-pmufw" must be in the user's local.conf! |
diff --git a/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb b/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb index 5a885b3b..89a9e93f 100644 --- a/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb +++ b/meta-xilinx-core/recipes-bsp/embeddedsw/psmfw.bb | |||
| @@ -10,9 +10,7 @@ INHERIT_DEFAULT_DEPENDS = "1" | |||
| 10 | COMPATIBLE_MACHINE = "^$" | 10 | COMPATIBLE_MACHINE = "^$" |
| 11 | COMPATIBLE_MACHINE:versal = "versal" | 11 | COMPATIBLE_MACHINE:versal = "versal" |
| 12 | 12 | ||
| 13 | # Specify a default in case boardvariant isn't available | 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 14 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 15 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 16 | 14 | ||
| 17 | # Default would be a multiconfig (versal) build | 15 | # Default would be a multiconfig (versal) build |
| 18 | # For this to work, BBMULTICONFIG += "versal-fw" must be in the user's local.conf! | 16 | # For this to work, BBMULTICONFIG += "versal-fw" must be in the user's local.conf! |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc index 893b8f6c..c41a4bad 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc | |||
| @@ -18,7 +18,3 @@ B = "${WORKDIR}/build" | |||
| 18 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" | 18 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" |
| 19 | 19 | ||
| 20 | SYSROOT_DIRS += "/boot" | 20 | SYSROOT_DIRS += "/boot" |
| 21 | |||
| 22 | # Specify a default in case boardvariant isn't available | ||
| 23 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 24 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb index a75484a8..766b2b81 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb | |||
| @@ -47,14 +47,8 @@ SRC_URI = " \ | |||
| 47 | file://pxeboot.pxe \ | 47 | file://pxeboot.pxe \ |
| 48 | " | 48 | " |
| 49 | 49 | ||
| 50 | # Specify a default in case boardvariant isn't available | 50 | # Even thought we don't create a package, make sure this is unique to the machine |
| 51 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | 51 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 52 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 53 | |||
| 54 | # On zynqmp-dr, we know we're different so if BOARD is not defined, fall back | ||
| 55 | # to the SOC_VARIANT_ARCH instead | ||
| 56 | SOC_VARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 57 | PACKAGE_ARCH:zynqmp-dr = "${@['${BOARDVARIANT_ARCH}', '${SOC_VARIANT_ARCH}'][d.getVar('BOARDVARIANT_ARCH')==d.getVar('MACHINE_ARCH')]}" | ||
| 58 | 52 | ||
| 59 | inherit image-artifact-names | 53 | inherit image-artifact-names |
| 60 | UENV_TEXTFILE ?= "uEnv.txt" | 54 | UENV_TEXTFILE ?= "uEnv.txt" |
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 52ae09f0..e35c0e30 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,9 +4,6 @@ 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 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 8 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 9 | |||
| 10 | python () { | 7 | python () { |
| 11 | # The device trees must be populated in the deploy directory to correctly | 8 | # The device trees must be populated in the deploy directory to correctly |
| 12 | # detect them and their names. This means that this recipe needs to depend | 9 | # detect them and their names. This means that this recipe needs to depend |
| @@ -25,6 +22,8 @@ COMPATIBLE_MACHINE = "^$" | |||
| 25 | COMPATIBLE_MACHINE:zynq = ".*" | 22 | COMPATIBLE_MACHINE:zynq = ".*" |
| 26 | COMPATIBLE_MACHINE:zynqmp = ".*" | 23 | COMPATIBLE_MACHINE:zynqmp = ".*" |
| 27 | 24 | ||
| 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 26 | |||
| 28 | inherit deploy image-wic-utils | 27 | inherit deploy image-wic-utils |
| 29 | 28 | ||
| 30 | def uboot_boot_cmd(d): | 29 | def uboot_boot_cmd(d): |
diff --git a/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb b/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb index 3fed5261..b415f4af 100644 --- a/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb +++ b/meta-xilinx-pynq/recipes-support/pynq-ultra96-bnn/pynq-ultra96-bnn_1.0.bb | |||
| @@ -55,4 +55,4 @@ do_install () { | |||
| 55 | cp -r ${S}/notebooks/* ${JUPYTER_NOTEBOOKS}/bnn_examples/ | 55 | cp -r ${S}/notebooks/* ${JUPYTER_NOTEBOOKS}/bnn_examples/ |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | PACKAGE_ARCH:ultra96 = "${BOARD_ARCH}" | 58 | PACKAGE_ARCH:ultra96 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb b/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb index f6febcc8..0110454c 100644 --- a/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb +++ b/meta-xilinx-pynq/recipes-support/pynq-ultra96-helloworld/pynq-ultra96-helloworld_1.0.bb | |||
| @@ -37,4 +37,4 @@ do_install() { | |||
| 37 | 37 | ||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | PACKAGE_ARCH:ultra96 = "${BOARD_ARCH}" | 40 | PACKAGE_ARCH:ultra96 = "${MACHINE_ARCH}" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc index 03292633..99101d09 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware.inc | |||
| @@ -7,9 +7,7 @@ COMPATIBLE_MACHINE = "none" | |||
| 7 | COMPATIBLE_MACHINE:zynq = ".*" | 7 | COMPATIBLE_MACHINE:zynq = ".*" |
| 8 | COMPATIBLE_MACHINE:zynqmp = ".*" | 8 | COMPATIBLE_MACHINE:zynqmp = ".*" |
| 9 | 9 | ||
| 10 | # Specify a default in case boardvariant isn't available | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 12 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 13 | 11 | ||
| 14 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 15 | 13 | ||
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc index 08f4b4e1..355a55ed 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/plm-firmware.inc | |||
| @@ -7,9 +7,7 @@ COMPATIBLE_HOST = "microblaze.*-elf" | |||
| 7 | COMPATIBLE_MACHINE = "none" | 7 | COMPATIBLE_MACHINE = "none" |
| 8 | COMPATIBLE_MACHINE:versal = ".*" | 8 | COMPATIBLE_MACHINE:versal = ".*" |
| 9 | 9 | ||
| 10 | # Specify a default in case boardvariant isn't available | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 12 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 13 | 11 | ||
| 14 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 15 | B = "${S}/lib/sw_apps/versal_plm/src" | 13 | B = "${S}/lib/sw_apps/versal_plm/src" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc index 9912fa0b..22352fab 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/pmu-firmware.inc | |||
| @@ -6,9 +6,7 @@ COMPATIBLE_HOST = "microblaze.*-elf" | |||
| 6 | COMPATIBLE_MACHINE = "none" | 6 | COMPATIBLE_MACHINE = "none" |
| 7 | COMPATIBLE_MACHINE:zynqmp = ".*" | 7 | COMPATIBLE_MACHINE:zynqmp = ".*" |
| 8 | 8 | ||
| 9 | # Specify a default in case boardvariant isn't available | 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 10 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 11 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 12 | 10 | ||
| 13 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 14 | B = "${S}/lib/sw_apps/zynqmp_pmufw/src" | 12 | B = "${S}/lib/sw_apps/zynqmp_pmufw/src" |
diff --git a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc index 806592c2..2bdae284 100644 --- a/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc +++ b/meta-xilinx-standalone/recipes-bsp/embeddedsw/psm-firmware.inc | |||
| @@ -7,9 +7,7 @@ COMPATIBLE_HOST = "microblaze.*-elf" | |||
| 7 | COMPATIBLE_MACHINE = "none" | 7 | COMPATIBLE_MACHINE = "none" |
| 8 | COMPATIBLE_MACHINE:versal = ".*" | 8 | COMPATIBLE_MACHINE:versal = ".*" |
| 9 | 9 | ||
| 10 | # Specify a default in case boardvariant isn't available | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 11 | BOARDVARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
| 12 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
| 13 | 11 | ||
| 14 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 15 | B = "${S}/lib/sw_apps/versal_psmfw/src" | 13 | B = "${S}/lib/sw_apps/versal_psmfw/src" |
