Dear Daniel Hobi, In message <1263834819-15315-1-git-send-email-daniel.h...@schmid-telecom.ch> you wrote: > During parallel build, the top Makefile spawns multiple sub-makes for > targets in cpu/$(CPU) and $(dir $(LDSCRIPT)). If the .depend files are > not present in these directories, the sub-makes may end up generating > these files simultaneously which leads to corrupted content. > > A typical error message is: > > .depend:39: *** multiple target patterns. Stop. > > This patch serializes the creation of .depend in cpu/$(CPU) and > $(dir $(LDSCRIPT)) by adding these directories to the depend target > in the top Makefile. > > Other directories in $(LIBS) are not affected since they contain only > one Make target and thus only one sub-make is spawned per directory. > > Signed-off-by: Daniel Hobi <daniel.h...@schmid-telecom.ch> > --- > v3: > - Add a comment why make _depend is required for these two subdirs > v2: > - Also build target depend in $(dir $(LDSCRIPT)) (suggested by Mike) > - Break overlong line > > Makefile | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de "To take a significant step forward, you must make a series of finite improvements." - Donald J. Atwood, General Motors _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot