mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
Makefile: Generate a symbol file for u-boot-spl
Add a rule to generate u-boot-spl.sym so that pytest can discover the available unit tests. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
217293e399
commit
60251b1d53
1 changed files with 6 additions and 1 deletions
|
@ -214,7 +214,7 @@ spl/boot.bin: $(obj)/$(SPL_BIN)-align.bin FORCE
|
|||
$(call if_changed,mkimage)
|
||||
endif
|
||||
|
||||
INPUTS-y += $(obj)/$(SPL_BIN).bin
|
||||
INPUTS-y += $(obj)/$(SPL_BIN).bin $(obj)/$(SPL_BIN).sym
|
||||
|
||||
ifdef CONFIG_SAMSUNG
|
||||
INPUTS-y += $(obj)/$(BOARD)-spl.bin
|
||||
|
@ -408,6 +408,11 @@ MKIMAGEFLAGS_u-boot-spl-mtk.bin = -T mtk_image \
|
|||
$(obj)/u-boot-spl-mtk.bin: $(obj)/u-boot-spl.bin FORCE
|
||||
$(call if_changed,mkimage)
|
||||
|
||||
quiet_cmd_sym ?= SYM $@
|
||||
cmd_sym ?= $(OBJDUMP) -t $< > $@
|
||||
$(obj)/$(SPL_BIN).sym: $(obj)/$(SPL_BIN) FORCE
|
||||
$(call if_changed,sym)
|
||||
|
||||
# Rule to link u-boot-spl
|
||||
# May be overridden by arch/$(ARCH)/config.mk
|
||||
quiet_cmd_u-boot-spl ?= LD $@
|
||||
|
|
Loading…
Reference in a new issue