]> 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:46 +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 a4c92632ab084eab5f68b5d9a97e263dd75bb75a..04e8b11e0c51432ce53332839cb8d9e5ae6f94a0 100644 (file)
@@ -101,7 +101,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