diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 11:57:57 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-14 20:40:24 -0600 |
commit | 054b3a1e80fcbca02cb0d0728629af02f18517f5 (patch) | |
tree | 60cbf9db9cff0908a5fc3eef3f498ddc0e8c4325 /Makefile | |
parent | d223e0a82255b5fa6049f92556236f8ffd6b745c (diff) | |
download | u-boot-054b3a1e80fcbca02cb0d0728629af02f18517f5.tar.gz |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1318,7 +1318,8 @@ u-boot.lds: $(LDSCRIPT) prepare FORCE 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 spl/sunxi-spl.bin: spl/u-boot-spl |