From f59f5a869d4cd1941325dd0f5991c33950ce488e Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Tue, 11 Jul 2023 14:15:53 +0200 Subject: [PATCH] Makefile: Add missing quotes around sort --field-separator MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Busybox sort does not handle --field-separator== , replace this with --field-separator='=' for maximum compatibility. Fixes: cc5a490cf465 ("Makefile: Sort u-boot-initial-env output") Reported-by: Milan P. Stanić Signed-off-by: Marek Vasut Reviewed-by: Simon Glass --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1d551da3ed..87f9fc786e 100644 --- a/Makefile +++ b/Makefile @@ -2444,7 +2444,7 @@ quiet_cmd_genenv = GENENV $@ cmd_genenv = \ $(objtree)/tools/printinitialenv | \ sed -e '/^\s*$$/d' | \ - sort --field-separator== -k1,1 --stable -o $@ + sort --field-separator='=' -k1,1 --stable -o $@ u-boot-initial-env: $(env_h) FORCE $(Q)$(MAKE) $(build)=tools $(objtree)/tools/printinitialenv -- 2.39.5