From 51fc2776b7f4efbd6c221f48690b568d143db8e3 Mon Sep 17 00:00:00 2001 From: Gary Coulbourne Date: Wed, 5 Dec 2012 11:48:27 -0500 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- boot/uboot/Config.in | 4 ++++ boot/uboot/uboot.mk | 4 ++++ 2 files changed, 8 insertions(+) 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 -- 2.30.2