summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-04 11:57:57 -0600
committerSimon Glass <sjg@chromium.org>2016-07-14 20:40:24 -0600
commit054b3a1e80fcbca02cb0d0728629af02f18517f5 (patch)
tree60cbf9db9cff0908a5fc3eef3f498ddc0e8c4325 /Makefile
parentd223e0a82255b5fa6049f92556236f8ffd6b745c (diff)
downloadu-boot-imx-054b3a1e80fcbca02cb0d0728629af02f18517f5.zip
u-boot-imx-054b3a1e80fcbca02cb0d0728629af02f18517f5.tar.gz
u-boot-imx-054b3a1e80fcbca02cb0d0728629af02f18517f5.tar.bz2
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--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5b07d8..84bb620 100644
--- a/Makefile
+++ b/Makefile
@@ -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