mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
target/u-boot: add 2009.11 and update target mkimage so it builds with 2009.11
In 2009.11, a number of extra files are needed to build mkimage. Adjust the makefile to add those if available, so it builds with both 2009.11 and older releases. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d77594ccd7
commit
cc9fb53408
2
CHANGES
2
CHANGES
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Updated/fixed packages: autoconf, bind, binutils, busybox,
|
Updated/fixed packages: autoconf, bind, binutils, busybox,
|
||||||
directfb, gst-plugins-bad, hal, iw, libfuse, libpcap, lighttpd,
|
directfb, gst-plugins-bad, hal, iw, libfuse, libpcap, lighttpd,
|
||||||
mesa, mpg123, mtd-utils, pcre, qt, sshfs, tremor, usbutils
|
mesa, mpg123, mtd-utils, pcre, qt, sshfs, tremor, u-boot, usbutils
|
||||||
|
|
||||||
Issues resolved (http://bugs.uclibc.org):
|
Issues resolved (http://bugs.uclibc.org):
|
||||||
|
|
||||||
|
@ -13,16 +13,20 @@ config BR2_TARGET_UBOOT_BOARDNAME
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "U-Boot Version"
|
prompt "U-Boot Version"
|
||||||
default BR2_TARGET_UBOOT_2009_08
|
default BR2_TARGET_UBOOT_2009_11
|
||||||
help
|
help
|
||||||
Select the specific U-Boot version you want to use
|
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
|
config BR2_TARGET_UBOOT_2009_08
|
||||||
bool "u-boot-2009.08"
|
bool "u-boot-2009.08"
|
||||||
|
depends on BR2_DEPRECATED || BR2_RECENT
|
||||||
|
|
||||||
config BR2_TARGET_UBOOT_2009_06
|
config BR2_TARGET_UBOOT_2009_06
|
||||||
bool "u-boot-2009.06"
|
bool "u-boot-2009.06"
|
||||||
depends on BR2_DEPRECATED || BR2_RECENT
|
depends on BR2_DEPRECATED
|
||||||
|
|
||||||
config BR2_TARGET_UBOOT_2009_03
|
config BR2_TARGET_UBOOT_2009_03
|
||||||
bool "u-boot-2009.03"
|
bool "u-boot-2009.03"
|
||||||
@ -44,6 +48,7 @@ endchoice
|
|||||||
|
|
||||||
config BR2_UBOOT_VERSION
|
config BR2_UBOOT_VERSION
|
||||||
string
|
string
|
||||||
|
default "2009.11" if BR2_TARGET_UBOOT_2009_11
|
||||||
default "2009.08" if BR2_TARGET_UBOOT_2009_08
|
default "2009.08" if BR2_TARGET_UBOOT_2009_08
|
||||||
default "2009.06" if BR2_TARGET_UBOOT_2009_06
|
default "2009.06" if BR2_TARGET_UBOOT_2009_06
|
||||||
default "2009.03" if BR2_TARGET_UBOOT_2009_03
|
default "2009.03" if BR2_TARGET_UBOOT_2009_03
|
||||||
|
@ -175,8 +175,11 @@ $(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)
|
|||||||
mkdir -p $(@D)
|
mkdir -p $(@D)
|
||||||
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(U_BOOT_DIR)/tools \
|
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(U_BOOT_DIR)/tools \
|
||||||
-DUSE_HOSTCC -o $@ \
|
-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) \
|
$(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
|
$(U_BOOT_DIR)/libfdt/fdt*.c
|
||||||
|
|
||||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user