[U-Boot] [PATCH 3/3] Makefile: cosmetic: optimize usage of LIBS-y
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Thu Jul 19 18:14:16 CEST 2012
Hi Mike,
2012/7/19 Mike Frysinger <vapier at gentoo.org>:
> On Thursday 28 June 2012 12:45:21 Daniel Schwierzeck wrote:
>> --- a/Makefile
>> +++ b/Makefile
>>
>> +HAVE_VENDOR_COMMON_LIB := $(shell [ -f board/$(VENDOR)/common/Makefile ] \
>> + && echo y || echo n)
>
> HAVE_VENDOR_COMMON_LIB = $(if $(wildcard board/$(VENDOR)/common/Makefile),y,n)
> -mike
yes, that's better.
I'll also cook a patch for spl/Makefile that already has this piece of code.
Thanks,
Daniel
More information about the U-Boot
mailing list