summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-12-23 15:33:25 -0700
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:15 -0600
commit819b2bea1592c7dfa7295fc9211b3dd003d989e7 (patch)
tree3bc28175c6d13d81982595b09504c238621f63af
parent8319b84f83a7ba037c1339ead76c90afb9f63557 (diff)
downloadmeta-xilinx-819b2bea1592c7dfa7295fc9211b3dd003d989e7.tar.gz
extract-cdo: Adjusted to use an intermediate default
Adjusted to use an intermediate default BOOTGEN_ARCH, so that no override is required. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb b/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb
index fb0ac66b..6e734e36 100644
--- a/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb
@@ -19,14 +19,17 @@ PACKAGE_ARCH ?= "${MACHINE_ARCH}"
19B = "${WORKDIR}/build" 19B = "${WORKDIR}/build"
20 20
21BOOTGEN_CMD ?= "bootgen" 21BOOTGEN_CMD ?= "bootgen"
22BOOTGEN_ARGS ?= "-arch versal" 22BOOTGEN_ARCH_DEFAULT = "undefined"
23BOOTGEN_ARCH_DEFAULT:versal = "versal"
24BOOTGEN_ARCH_DEFAULT:versal-net = "versalnet"
25BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}"
23BOOTGEN_OUTFILE ?= "${DEPLOY_DIR_IMAGE}/boot.bin" 26BOOTGEN_OUTFILE ?= "${DEPLOY_DIR_IMAGE}/boot.bin"
24 27
25# bootgen extracts the pmc_cdo file from the boot.bin. By default this 28# bootgen extracts the pmc_cdo file from the boot.bin. By default this
26# happens in the same directory as the boot.bin. We need to move it to 29# happens in the same directory as the boot.bin. We need to move it to
27# this directory, as do_compile should never write into a deploy dir 30# this directory, as do_compile should never write into a deploy dir
28do_compile() { 31do_compile() {
29 ${BOOTGEN_CMD} ${BOOTGEN_ARGS} -dump_dir ${B} -dump ${BOOTGEN_OUTFILE} pmc_cdo 32 ${BOOTGEN_CMD} -arch ${BOOTGEN_ARCH} -dump_dir ${B} -dump ${BOOTGEN_OUTFILE} pmc_cdo
30} 33}
31 34
32do_install[noexec] = '1' 35do_install[noexec] = '1'