From: Wolfgang Denk Date: Wed, 27 Oct 2010 09:06:51 +0000 (+0200) Subject: Makefile: fix dependencies for building NAND_SPL X-Git-Tag: v2010.12-rc1~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0fee6a6469509a6cf1df88a81a73735f74b5a5d;p=u-boot 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 Tested-by: Heiko Schocher --- diff --git a/Makefile b/Makefile index b50830a45f..5c83b07da5 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