From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 09 Dec 2009 10:12:00 +0100 Subject: [U-Boot] [PATCH 1/3] Update Makefile for new dirs to be included in tag list In-Reply-To: <1260339968-28169-1-git-send-email-leoli@freescale.com> References: <1260339968-28169-1-git-send-email-leoli@freescale.com> Message-ID: <20091209091200.6DFCD3F6CC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Li Yang, In message <1260339968-28169-1-git-send-email-leoli@freescale.com> you wrote: > Signed-off-by: Li Yang > --- > 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: wd at denx.de Nothing ever becomes real until it is experienced. - John Keats