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

Li Yang-R58472 r58472 at freescale.com
Wed Dec 9 10:47:48 CET 2009


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

Should be $(__LIBS)

>
>and get rid of all these duplicated settings?

Great idea!  I will come up a patch.

- Leo


More information about the U-Boot mailing list