summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Coulbourne <bear@bears.org>2012-12-05 16:48:27 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-29 19:06:30 (GMT)
commit51fc2776b7f4efbd6c221f48690b568d143db8e3 (patch)
tree7a78262d2b46c6ff6f9753424a27bea43fd9b342
parentb50e0fa113bf641a3764ae99b94bb7ba4e1e8f85 (diff)
downloadbuildroot-51fc2776b7f4efbd6c221f48690b568d143db8e3.tar.gz
buildroot-51fc2776b7f4efbd6c221f48690b568d143db8e3.tar.bz2
uboot: add support for Freescale .sb format to uboot
[Thomas: update to recent Buildroot, add missing dependency on host-elftosb.] Signed-off-by: Gary Coulbourne <bear@bears.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--boot/uboot/Config.in4
-rw-r--r--boot/uboot/uboot.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index f5806e7..2e37856 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -101,6 +101,10 @@ config BR2_TARGET_UBOOT_FORMAT_LDR
config BR2_TARGET_UBOOT_FORMAT_ELF
bool "u-boot.elf"
+config BR2_TARGET_UBOOT_FORMAT_SB
+ depends on BR2_arm
+ bool "u-boot.sb"
+
config BR2_TARGET_UBOOT_FORMAT_CUSTOM
bool "Custom (specify below)"
help
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 3904b8b..631da6b 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -40,6 +40,10 @@ 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_SB),y)
+UBOOT_BIN = u-boot.sb
+UBOOT_MAKE_TARGET = $(UBOOT_BIN)
+UBOOT_DEPENDENCIES += host-elftosb
else ifeq ($(BR2_TARGET_UBOOT_FORMAT_CUSTOM),y)
UBOOT_BIN = $(call qstrip,$(BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME))
else