summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-09-26 14:41:25 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-26 14:41:25 (GMT)
commitb8326cb643d29f7259905a1c157611e6f53c5cad (patch)
tree1aff5c0e92254b785679e1620bd115af1f7a4075
parent9731bff1400cf43b7d979c6e44ca65933e0e3bce (diff)
downloadbuildroot-b8326cb643d29f7259905a1c157611e6f53c5cad.tar.gz
buildroot-b8326cb643d29f7259905a1c157611e6f53c5cad.tar.bz2
u-boot: add option for Freescale u-boot.imx format
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--boot/uboot/Config.in3
-rw-r--r--boot/uboot/uboot.mk2
2 files changed, 5 insertions, 0 deletions
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index 1b98339..998cda2 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -87,6 +87,9 @@ config BR2_TARGET_UBOOT_FORMAT_BIN
config BR2_TARGET_UBOOT_FORMAT_IMG
bool "u-boot.img"
+config BR2_TARGET_UBOOT_FORMAT_IMX
+ bool "u-boot.imx"
+
config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
bool "u-boot-nand.bin"
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 631da6b..dc8e26f 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -40,6 +40,8 @@ else ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y)
UBOOT_BIN = u-boot-nand.bin
else ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y)
UBOOT_BIN = u-boot.img
+else ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y)
+UBOOT_BIN = u-boot.imx
else ifeq ($(BR2_TARGET_UBOOT_FORMAT_SB),y)
UBOOT_BIN = u-boot.sb
UBOOT_MAKE_TARGET = $(UBOOT_BIN)