[U-Boot] [PATCH 2/2] Makefile: Accept target names in all lower case to ease matching

Wolfgang Denk wd at denx.de
Sun Nov 25 18:45:43 CET 2012


Dear Henrik Nordström,

In message <1353842544.17518.11.camel at home.hno.se> you wrote:
> ---
>  Makefile |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 1a17be9..5a98745 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -752,6 +752,7 @@ unconfig:
>  sinclude $(obj).boards.depend
>  $(obj).boards.depend:	boards.cfg
>  	@awk '(NF && $$1 !~ /^#/) { print $$1 ": " $$1 "_config; $$(MAKE)" }' $< > $@
> +	@awk '(NF && $$1 !~ /^#/ && tolower($$1) != $$1) { print tolower($$1) ": " $$1 "_config; $$(MAKE)" }' $< > $@

NAK.  This is not DOS.  Names are case sensitive.

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
Build a system that even a fool can use and only a fool will want  to
use it.


More information about the U-Boot mailing list