Update buildroot & docker (#25)
* Update docker & buildroot * Fix * fix versions
This commit is contained in:
@@ -61,10 +61,6 @@ UBOOT_BINS += u-boot.ais
|
||||
UBOOT_MAKE_TARGET += u-boot.ais
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_LDR),y)
|
||||
UBOOT_BINS += u-boot.ldr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y)
|
||||
UBOOT_BINS += u-boot-nand.bin
|
||||
endif
|
||||
@@ -188,10 +184,22 @@ define UBOOT_APPLY_LOCAL_PATCHES
|
||||
endef
|
||||
UBOOT_POST_PATCH_HOOKS += UBOOT_APPLY_LOCAL_PATCHES
|
||||
|
||||
# This is equivalent to upstream commit
|
||||
# http://git.denx.de/?p=u-boot.git;a=commitdiff;h=e0d20dc1521e74b82dbd69be53a048847798a90a. It
|
||||
# fixes a build failure when libfdt-devel is installed system-wide.
|
||||
# This only works when scripts/dtc/libfdt exists (E.G. versions containing
|
||||
# http://git.denx.de/?p=u-boot.git;a=commitdiff;h=c0e032e0090d6541549b19cc47e06ccd1f302893)
|
||||
define UBOOT_FIXUP_LIBFDT_INCLUDE
|
||||
if [ -d $(@D)/scripts/dtc/libfdt ]; then \
|
||||
$(SED) 's%-I$$(srctree)/lib/libfdt%-I$$(srctree)/scripts/dtc/libfdt%' $(@D)/tools/Makefile; \
|
||||
fi
|
||||
endef
|
||||
UBOOT_POST_PATCH_HOOKS += UBOOT_FIXUP_LIBFDT_INCLUDE
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y)
|
||||
define UBOOT_CONFIGURE_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
|
||||
$(UBOOT_BOARD_NAME)_config
|
||||
endef
|
||||
else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
|
||||
@@ -218,16 +226,16 @@ define UBOOT_BUILD_CMDS
|
||||
$(if $(UBOOT_CUSTOM_DTS_PATH),
|
||||
cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
|
||||
)
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
|
||||
$(UBOOT_MAKE_TARGET)
|
||||
$(if $(BR2_TARGET_UBOOT_FORMAT_SD),
|
||||
$(@D)/tools/mxsboot sd $(@D)/u-boot.sb $(@D)/u-boot.sd)
|
||||
$(if $(BR2_TARGET_UBOOT_FORMAT_NAND),
|
||||
$(@D)/tools/mxsboot \
|
||||
-w $(BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE) \
|
||||
-o $(BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE) \
|
||||
-e $(BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE) \
|
||||
-w $(BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE) \
|
||||
-o $(BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE) \
|
||||
-e $(BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE) \
|
||||
nand $(@D)/u-boot.sb $(@D)/u-boot.nand)
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user