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

Henrik Nordström henrik at henriknordstrom.net
Sun Nov 25 12:22:24 CET 2012


---
 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)" }' $< > $@
 
 #
 # Functions to generate common board directory names
-- 
1.7.7.6




More information about the U-Boot mailing list