[U-Boot] [PATCH] 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 samuel@mescoff.fr --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile index 2824a6e159..d11ee021ca 100644 --- a/Makefile +++ b/Makefile @@ -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

On Wed, Apr 17, 2019 at 1:56 AM Samuel Mescoff samuel@mescoff.fr wrote:
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 samuel@mescoff.fr
Acked-by: Joe Hershberger joe.hershberger@ni.com
participants (2)
-
Joe Hershberger
-
Samuel Mescoff