uboot: add support for Freescale .sb format to uboot
authorGary Coulbourne <bear@bears.org>
Wed, 5 Dec 2012 16:48:27 +0000 (11:48 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Jul 2013 19:06:30 +0000 (21:06 +0200)
[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>
boot/uboot/Config.in
boot/uboot/uboot.mk

index f5806e7de05ab24ed3e98db6fdd84435e000860d..2e37856d56be1afc10e4d23460d837a24b67dccf 100644 (file)
@@ -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
index 3904b8bd4f3b44f8d6a01d0edbb258822540cddc..631da6b6fd7495dbf0078db748c42edc52bb0974 100644 (file)
@@ -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