All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] Update Makefile for new dirs to be included in tag list
Date: Wed, 09 Dec 2009 10:12:00 +0100	[thread overview]
Message-ID: <20091209091200.6DFCD3F6CC@gemini.denx.de> (raw)
In-Reply-To: <1260339968-28169-1-git-send-email-leoli@freescale.com>

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))

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

  parent reply	other threads:[~2009-12-09  9:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09  6:26 [U-Boot] [PATCH 1/3] Update Makefile for new dirs to be included in tag list Li Yang
2009-12-09  6:26 ` [U-Boot] [PATCH 2/3] fdt: add fdt_del_node_by_path() API Li Yang
2009-12-09  6:26   ` [U-Boot] [PATCH 3/3] fsl_law: add SRIO2 target id and law_size_bits() macro Li Yang
2009-12-10 19:49     ` Kumar Gala
2009-12-10  2:48   ` [U-Boot] [PATCH 2/3] fdt: add fdt_del_node_by_path() API Jerry Van Baren
2009-12-10  4:12     ` Li Yang-R58472
2009-12-10  6:37       ` Wolfgang Denk
2009-12-10  6:49         ` Li Yang-R58472
2009-12-09  9:12 ` Wolfgang Denk [this message]
2009-12-09  9:47   ` [U-Boot] [PATCH 1/3] Update Makefile for new dirs to be included in tag list Li Yang-R58472
2009-12-09 10:28 ` Mike Frysinger
2009-12-09 10:29   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091209091200.6DFCD3F6CC@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.