mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
dm: spl: Generate u-boot-spl-dtb.bin only when enabled
At present this file is generated even when device tree is not enabled in SPL. Avoid this, since this file serves no purpose in that case. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
6bdc593e96
commit
021b4d117c
1 changed files with 2 additions and 0 deletions
|
@ -129,7 +129,9 @@ boot.bin: $(obj)/u-boot-spl.bin
|
|||
|
||||
ALL-y += $(obj)/$(SPL_BIN).bin $(obj)/$(SPL_BIN).cfg
|
||||
|
||||
ifdef CONFIG_SPL_OF_CONTROL
|
||||
ALL-$(CONFIG_OF_SEPARATE) += $(obj)/$(SPL_BIN)-pad.bin $(obj)/$(SPL_BIN)-dtb.bin
|
||||
endif
|
||||
|
||||
ifdef CONFIG_SAMSUNG
|
||||
ALL-y += $(obj)/$(BOARD)-spl.bin
|
||||
|
|
Loading…
Reference in a new issue