]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: fix dependencies for building NAND_SPL
authorWolfgang Denk <wd@denx.de>
Wed, 27 Oct 2010 09:06:51 +0000 (11:06 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 27 Oct 2010 18:18:34 +0000 (20:18 +0200)
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>
Makefile

index b50830a45ff9f4f4a90ec68184e634d43749fdd9..5c83b07da59e7972b7ff57df0bbb71b4ace0debb 100644 (file)
--- 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