Commit fd2d1e0d47d585eac936a7239eb2bdad7e07a8cc
Committed by
Tom Rini
1 parent
4c1dc1a90f
Exists in
v2017.01-smarct4x
and in
29 other branches
kbuild: Do not append dtb for OF_EMBED case
dtb is already included in binary that's why there is no need to replace u-boot-spl.bin with u-boot-spl-dtb.bin. This is only needed for OF_SEPARATE is enabled. Only copy -nodtb.bin version which is straight output from objcopy -O binary. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
scripts/Makefile.spl
... | ... | @@ -165,7 +165,7 @@ |
165 | 165 | quiet_cmd_copy = COPY $@ |
166 | 166 | cmd_copy = cp $< $@ |
167 | 167 | |
168 | -ifeq ($(CONFIG_SPL_OF_CONTROL),y) | |
168 | +ifeq ($(CONFIG_SPL_OF_CONTROL)$(CONFIG_OF_SEPARATE),yy) | |
169 | 169 | $(obj)/$(SPL_BIN)-dtb.bin: $(obj)/$(SPL_BIN)-nodtb.bin $(obj)/$(SPL_BIN)-pad.bin \ |
170 | 170 | $(obj)/$(SPL_BIN).dtb FORCE |
171 | 171 | $(call if_changed,cat) |