aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f5806e7de0..2e37856d56 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 3904b8bd4f..631da6b6fd 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