]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-boot: Pass DTB names to make
authorJoshua Watt <Joshua.Watt@garmin.com>
Fri, 3 May 2019 19:53:01 +0000 (14:53 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 4 Sep 2019 17:33:22 +0000 (14:33 -0300)
Passes the name of the DTBs to be built to make. This allows alternate
DTBs to be built instead of assuming the default

Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
recipes-bsp/imx-mkimage/imx-boot_0.2.bb

index 68492a9bdaf00b7239654e6352e6da4e4a5bf489..32d5aa281c509dd5386816133bfd13c8dbd350ca 100644 (file)
@@ -111,7 +111,7 @@ do_compile() {
     # mkimage for i.MX8
     for target in ${IMXBOOT_TARGETS}; do
         bbnote "building ${SOC_TARGET} - ${target}"
-        make SOC=${SOC_TARGET} ${target}
+        make SOC=${SOC_TARGET} dtbs=${UBOOT_DTB_NAME} ${target}
         if [ -e "${BOOT_STAGING}/flash.bin" ]; then
             cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE}-${target}
         fi