]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Add the missing dependency for spl target
authorAneesh V <aneesh@ti.com>
Sat, 5 Nov 2011 07:43:33 +0000 (13:13 +0530)
committerStefan Roese <sr@denx.de>
Fri, 18 Nov 2011 16:14:53 +0000 (17:14 +0100)
Wolfgang's patch for build time improvement is bringing
out issues due to missing dependencies in the top-level
Makefile. I get errors such as the below while building
with many threads.

make[1]: /home/a0393566local/u-boot-denx/tools/mkimage: Command not found

This also allows one to do:
$ make spl/u-boot-spl.bin
if you want to build only spl

Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Aneesh V <aneesh@ti.com>
Makefile

index 294c76201f808aa45c1b13f35e991497251908a3..c01f08a1965227a2f532ab20ea282be08f8a651d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -486,7 +486,7 @@ mmc_spl:    $(TIMESTAMP_FILE) $(VERSION_FILE) depend
 
 $(obj)mmc_spl/u-boot-mmc-spl.bin:      mmc_spl
 
-$(obj)spl/u-boot-spl.bin:              depend
+$(obj)spl/u-boot-spl.bin:      $(SUBDIR_TOOLS) depend
                $(MAKE) -C spl all
 
 updater: