diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2021-05-07 10:47:51 -0700 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-07-14 15:01:47 -0700 |
commit | 3f755ee3c33702f8ecdff91571c573d974e3122b (patch) | |
tree | 3aa3337a6438eb903331b6a86b51db7e984cb61d /meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | |
parent | 9143707e95038f11a9695ab4e6094a13e4d78844 (diff) | |
download | meta-xilinx-3f755ee3c33702f8ecdff91571c573d974e3122b.tar.gz |
uboot: These recipes are machine or board specific
Issue: CR-1096936
It's possible that the user is NOT using a machine that defines a board,
so we need to either use the board(board_variant) or MACHINE outselves.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb')
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb index bc4eb04a..b121be5e 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | |||
@@ -46,7 +46,17 @@ SRC_URI = " \ | |||
46 | file://boot.cmd.ubifs \ | 46 | file://boot.cmd.ubifs \ |
47 | file://pxeboot.pxe \ | 47 | file://pxeboot.pxe \ |
48 | " | 48 | " |
49 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 49 | |
50 | # We fall back to MACHINE_ARCH in most cases | ||
51 | FALLBACK_ARCH = "${MACHINE_ARCH}" | ||
52 | |||
53 | # Except on zynqmp-dr, where we need to fall back to SOC_VARIANT_ARCH, which | ||
54 | # falls back to MACHINE_ARCH if necessary | ||
55 | SOC_VARIANT_ARCH ??= "${MACHINE_ARCH}" | ||
56 | FALLBACK_ARCH_zynqmp-dr = "${SOC_VARIANT_ARCH}" | ||
57 | |||
58 | BOARDVARIANT_ARCH ??= "${FALLBACK_ARCH}" | ||
59 | PACKAGE_ARCH = "${BOARDVARIANT_ARCH}" | ||
50 | 60 | ||
51 | inherit image-artifact-names | 61 | inherit image-artifact-names |
52 | UENV_TEXTFILE ?= "uEnv.txt" | 62 | UENV_TEXTFILE ?= "uEnv.txt" |