summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/u-boot/Config.in9
-rw-r--r--target/u-boot/Makefile.in5
2 files changed, 11 insertions, 3 deletions
diff --git a/target/u-boot/Config.in b/target/u-boot/Config.in
index 12a554307..2689f6975 100644
--- a/target/u-boot/Config.in
+++ b/target/u-boot/Config.in
@@ -13,16 +13,20 @@ config BR2_TARGET_UBOOT_BOARDNAME
choice
prompt "U-Boot Version"
- default BR2_TARGET_UBOOT_2009_08
+ default BR2_TARGET_UBOOT_2009_11
help
Select the specific U-Boot version you want to use
+config BR2_TARGET_UBOOT_2009_11
+ bool "u-boot-2009.11"
+
config BR2_TARGET_UBOOT_2009_08
bool "u-boot-2009.08"
+ depends on BR2_DEPRECATED || BR2_RECENT
config BR2_TARGET_UBOOT_2009_06
bool "u-boot-2009.06"
- depends on BR2_DEPRECATED || BR2_RECENT
+ depends on BR2_DEPRECATED
config BR2_TARGET_UBOOT_2009_03
bool "u-boot-2009.03"
@@ -44,6 +48,7 @@ endchoice
config BR2_UBOOT_VERSION
string
+ default "2009.11" if BR2_TARGET_UBOOT_2009_11
default "2009.08" if BR2_TARGET_UBOOT_2009_08
default "2009.06" if BR2_TARGET_UBOOT_2009_06
default "2009.03" if BR2_TARGET_UBOOT_2009_03
diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in
index dd45b42ac..5efbd54d2 100644
--- a/target/u-boot/Makefile.in
+++ b/target/u-boot/Makefile.in
@@ -175,8 +175,11 @@ $(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)
mkdir -p $(@D)
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(U_BOOT_DIR)/tools \
-DUSE_HOSTCC -o $@ \
- $(U_BOOT_DIR)/tools/mkimage.c $(U_BOOT_DIR)/common/image.c \
+ $(U_BOOT_DIR)/common/image.c \
+ $(wildcard $(addprefix $(U_BOOT_DIR)/tools/,default_image.c \
+ fit_image.c kwbimage.c mkimage.c)) \
$(addprefix $(U_BOOT_DIR)/lib_generic/,crc32.c md5.c sha1.c) \
+ $(U_BOOT_DIR)/tools/os_support.c \
$(U_BOOT_DIR)/libfdt/fdt*.c
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@