mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
u-boot.elf: add quiet_cmd_u-boot-elf and cmd_u-boot-elf
This way we can see output about u-boot.elf being built or not. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
committed by
Daniel Schwierzeck
parent
47cf465c25
commit
e69945ee8a
8
Makefile
8
Makefile
@@ -1187,11 +1187,13 @@ u-boot-img-spl-at-end.bin: u-boot.img spl/u-boot-spl.bin FORCE
|
|||||||
ifndef PLATFORM_ELFENTRY
|
ifndef PLATFORM_ELFENTRY
|
||||||
PLATFORM_ELFENTRY = "_start"
|
PLATFORM_ELFENTRY = "_start"
|
||||||
endif
|
endif
|
||||||
u-boot.elf: u-boot.bin
|
quiet_cmd_u-boot-elf ?= LD $@
|
||||||
@$(OBJCOPY) -I binary $(PLATFORM_ELFFLAGS) $< u-boot-elf.o
|
cmd_u-boot-elf ?= $(LD) u-boot-elf.o -o $@ \
|
||||||
@$(LD) u-boot-elf.o -o $@ \
|
|
||||||
--defsym=$(PLATFORM_ELFENTRY)=$(CONFIG_SYS_TEXT_BASE) \
|
--defsym=$(PLATFORM_ELFENTRY)=$(CONFIG_SYS_TEXT_BASE) \
|
||||||
-Ttext=$(CONFIG_SYS_TEXT_BASE)
|
-Ttext=$(CONFIG_SYS_TEXT_BASE)
|
||||||
|
u-boot.elf: u-boot.bin
|
||||||
|
$(Q)$(OBJCOPY) -I binary $(PLATFORM_ELFFLAGS) $< u-boot-elf.o
|
||||||
|
$(call if_changed,u-boot-elf)
|
||||||
|
|
||||||
# Rule to link u-boot
|
# Rule to link u-boot
|
||||||
# May be overridden by arch/$(ARCH)/config.mk
|
# May be overridden by arch/$(ARCH)/config.mk
|
||||||
|
Reference in New Issue
Block a user