diff options
-rw-r--r-- | scripts/Makefile.spl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index ced10e6f95..82cfc601b2 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -191,7 +191,8 @@ quiet_cmd_copy = COPY $@ cmd_copy = cp $< $@ ifeq ($(CONFIG_SPL_OF_CONTROL)$(CONFIG_OF_SEPARATE)$(CONFIG_SPL_OF_PLATDATA),yy) -$(obj)/$(SPL_BIN)-dtb.bin: $(obj)/$(SPL_BIN)-nodtb.bin $(obj)/$(SPL_BIN)-pad.bin \ +$(obj)/$(SPL_BIN)-dtb.bin: $(obj)/$(SPL_BIN)-nodtb.bin \ + $(if $(CONFIG_SPL_SEPARATE_BSS),,$(obj)/$(SPL_BIN)-pad.bin) \ $(obj)/$(SPL_BIN).dtb FORCE $(call if_changed,cat) |