Skip to content
Snippets Groups Projects
Commit 054b3a1e authored by Simon Glass's avatar Simon Glass
Browse files

dm: Makefile: Build of-platdata before SPL


Since SPL needs the of-platdata structures, build these before starting
to build any SPL components.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d223e0a8
Branches
Tags
No related merge requests found
...@@ -1318,7 +1318,8 @@ u-boot.lds: $(LDSCRIPT) prepare FORCE ...@@ -1318,7 +1318,8 @@ u-boot.lds: $(LDSCRIPT) prepare FORCE
spl/u-boot-spl.bin: spl/u-boot-spl spl/u-boot-spl.bin: spl/u-boot-spl
@: @:
spl/u-boot-spl: tools prepare $(if $(CONFIG_OF_SEPARATE),dts/dt.dtb) spl/u-boot-spl: tools prepare \
$(if $(CONFIG_OF_SEPARATE)$(CONFIG_SPL_OF_PLATDATA),dts/dt.dtb)
$(Q)$(MAKE) obj=spl -f $(srctree)/scripts/Makefile.spl all $(Q)$(MAKE) obj=spl -f $(srctree)/scripts/Makefile.spl all
spl/sunxi-spl.bin: spl/u-boot-spl spl/sunxi-spl.bin: spl/u-boot-spl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment