[U-Boot] [PATCH 1/3] Update Makefile for new dirs to be included in tag list

Wolfgang Denk wd at denx.de
Wed Dec 9 10:12:00 CET 2009


Dear Li Yang,

In message <1260339968-28169-1-git-send-email-leoli at freescale.com> you wrote:
> Signed-off-by: Li Yang <leoli at 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: wd at denx.de
Nothing ever becomes real until it is experienced.       - John Keats


More information about the U-Boot mailing list