From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aneesh V Date: Fri, 18 Nov 2011 13:55:42 +0530 Subject: [U-Boot] [PATCH] Makefile: Add the missing dependency for spl target In-Reply-To: <4EBBF690.4000603@ti.com> References: <1320479013-1840-1-git-send-email-aneesh@ti.com> <4EBBF690.4000603@ti.com> Message-ID: <4EC61686.90300@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang, On Thursday 10 November 2011 09:36 PM, Aneesh V wrote: > Hi Wolfgang, > > On Saturday 05 November 2011 01:13 PM, Aneesh V wrote: >> 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 > > Now that your build time improvement patch is up-stream omap and any > other platform that uses any of the tools during SPL build may face > occasional failures. Can you pull this one if my change looks ok? Gentle reminder. If you don't have any objections to this one could you consider pulling it. It avoids a build break. br, Aneesh > >> >> This also allows one to do: >> $ make spl/u-boot-spl.bin >> if you want to build only spl >> >> Cc: Wolfgang Denk >> Signed-off-by: Aneesh V >> --- >> Makefile | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/Makefile b/Makefile >> index 82de62b..7ae8b22 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -481,7 +481,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: >