
9 Dec
2009
9 Dec
'09
10:47 a.m.
Subject: Re: [U-Boot] [PATCH 1/3] Update Makefile for new dirs to be included in tag list
Dear Li Yang,
In message 1260339968-28169-1-git-send-email-leoli@freescale.com you wrote:
Signed-off-by: Li Yang leoli@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))
Should be $(__LIBS)
and get rid of all these duplicated settings?
Great idea! I will come up a patch.
- Leo