]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-base.inc: Use UBOOT_SUFFIX in UBOOT_BINARY variable
authorFabio Berton <fabio.berton@ossystems.com.br>
Mon, 15 Apr 2019 17:23:57 +0000 (14:23 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 17 Apr 2019 13:58:17 +0000 (10:58 -0300)
UBOOT_SUFFIX is already set in machine configuration files and
we can use this variable to set u-boot suffix for UBOOT_BINARY.

conf/machine/include/imx-base.inc

index bef8d6cea2604fc5b18d574c5d55edf0763655ec..34b99cec75d19623e2c4d5451cb339d64ae48804 100644 (file)
@@ -14,8 +14,8 @@ PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}"
 
 PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native"
 
-UBOOT_BINARY ?= "u-boot.imx"
-UBOOT_MAKE_TARGET ?= "u-boot.imx"
+UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
+UBOOT_MAKE_TARGET ?= "u-boot.${UBOOT_SUFFIX}"
 UBOOT_MAKE_TARGET_mxs ?= "u-boot.sb"
 UBOOT_MAKE_TARGET_mx8 ?= ""