Skip to contentSkip to conversation

Makefile: fix processing of default environment file

PATCH New Samuel Mescoff 2 participants 2 messages Apr 15, 2019 – Nov 19, 2019 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: fix processing of default environment file

Allow the default environment file to contain long lines split into multiples lines.

Leading white spaces can be added for readability as well.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 2824a6e159..d11ee021ca 100644
@@ -1660,7 +1660,7 @@ define filechk_defaultenv.h
 	(grep -v '^#' | \
 	 grep -v '^$$' | \
 	 tr '\n' '\0' | \
-	 sed -e 's/\\\x0/\n/' | \
+	 sed -e 's/\\\x0\s*//g' | \
 	 xxd -i ; echo ", 0x00" ; )
 endef
 
Signature · 1 line
2.20.1