summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-10-27 11:06:51 +0200
committerWolfgang Denk <wd@denx.de>2010-10-27 20:18:34 +0200
commitf0fee6a6469509a6cf1df88a81a73735f74b5a5d (patch)
treec1e786f99dd353a2098d327a73f8739acc9826e0
parente4691f5ed1a60a019505359b5033698cc813a787 (diff)
downloadu-boot-imx-f0fee6a6469509a6cf1df88a81a73735f74b5a5d.zip
u-boot-imx-f0fee6a6469509a6cf1df88a81a73735f74b5a5d.tar.gz
u-boot-imx-f0fee6a6469509a6cf1df88a81a73735f74b5a5d.tar.bz2
Makefile: fix dependencies for building NAND_SPL
Building of NAND based boards failed sometimes (especially on MP systems) because of incorrect / missing dependencies. Signed-off-by: Wolfgang Denk <wd@denx.de> Tested-by: Heiko Schocher <hs@denx.de>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b50830a..5c83b07 100644
--- a/Makefile
+++ b/Makefile
@@ -401,7 +401,7 @@ $(LDSCRIPT): depend
$(obj)u-boot.lds: $(LDSCRIPT)
$(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$^ >$@
-$(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
+$(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) depend
$(MAKE) -C nand_spl/board/$(BOARDDIR) all
$(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin