From: Samuel Mescoff Date: Mon, 15 Apr 2019 10:28:26 +0000 (+0200) Subject: Makefile: fix processing of default environment file X-Git-Tag: v2020.04-rc4~20^2~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b7f5f3e75841b115caacef5983a9cc681521ec7;p=oweals%2Fu-boot.git 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. Signed-off-by: Samuel Mescoff Acked-by: Joe Hershberger --- diff --git a/Makefile b/Makefile index 55aa90cf17..07539ca596 100644 --- a/Makefile +++ b/Makefile @@ -1830,7 +1830,7 @@ define filechk_defaultenv.h (grep -v '^#' | \ grep -v '^$$' | \ tr '\n' '\0' | \ - sed -e 's/\\\x0/\n/g' | \ + sed -e 's/\\\x0\s*//g' | \ xxd -i ; echo ", 0x00" ; ) endef