Dear Li Yang, In message <1260339968-28169-1-git-send-email-le...@freescale.com> you wrote: > Signed-off-by: Li Yang <le...@freescale.com> > --- > Makefile | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/Makefile b/Makefile > index bcb3fe9..4d71366 100644 > --- a/Makefile > +++ b/Makefile > @@ -406,6 +406,8 @@ TAG_SUBDIRS += include > TAG_SUBDIRS += lib_generic board/$(BOARDDIR) > TAG_SUBDIRS += cpu/$(CPU) > TAG_SUBDIRS += lib_$(ARCH) > +TAG_SUBDIRS += $(shell if [ -d board/$(VENDOR)/common ]; then echo \ > + "board/$(VENDOR)/common"; fi)
Would it not be easier to do something like TAG_SUBDIRS = $(dir $(LIBS)) and get rid of all these duplicated settings? [Warning: untested!] 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 Nothing ever becomes real until it is experienced. - John Keats _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot