boot/uboot/uboot.mk: allow installing u-boot.elf
This patch adds an option that allows to install the u-boot.elf file produced when CONFIG_REMAKE_ELF=y in the U-Boot configuration. Signed-off-by: Neal Frager <neal.frager@amd.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f9ef3fbed5
commit
d8c63011e2
@ -277,7 +277,19 @@ config BR2_TARGET_UBOOT_FORMAT_NAND_BIN
|
||||
bool "u-boot-nand.bin"
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_ELF
|
||||
bool "u-boot"
|
||||
help
|
||||
Install the u-boot image, which is directly the ELF binary
|
||||
for the main U-Boot, potentially with debugging symbols.
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_REMAKE_ELF
|
||||
bool "u-boot.elf"
|
||||
help
|
||||
Install the u-boot.elf image, which is produced when
|
||||
CONFIG_REMAKE_ELF=y. It is an ELF image (u-boot.elf)
|
||||
produced from the raw U-Boot binary (u-boot.bin), which may
|
||||
already have been statically relocated and may already have
|
||||
a device-tree appended to it.
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_IMG
|
||||
bool "u-boot.img"
|
||||
|
@ -60,6 +60,10 @@ UBOOT_MAKE_TARGET += mdbtrick
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_REMAKE_ELF),y)
|
||||
UBOOT_BINS += u-boot.elf
|
||||
endif
|
||||
|
||||
# Call 'make all' unconditionally
|
||||
UBOOT_MAKE_TARGET += all
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user