From: Marek Vasut Date: Tue, 11 Jul 2023 12:15:53 +0000 (+0200) Subject: Makefile: Add missing quotes around sort --field-separator X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f59f5a869d4cd1941325dd0f5991c33950ce488e;p=u-boot.git Makefile: Add missing quotes around sort --field-separator 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 --- 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