From: Marek Vasut Date: Thu, 20 Jul 2023 12:50:42 +0000 (+0200) Subject: Makefile: Use sort shortopts X-Git-Tag: v2023.10-rc1~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=779e38a5f54556ede4068c908c4a8f8bba7558f8;p=pandora-u-boot.git Makefile: Use sort shortopts POSIX does not defined longopts for sort, use shortops for even more compatibility. Fixes: cc5a490cf465 ("Makefile: Sort u-boot-initial-env output") Reported-by: Milan P. Stanić Signed-off-by: Marek Vasut Reviewed-by: Mark Kettenis Tested-by: Milan P. Stanić --- diff --git a/Makefile b/Makefile index 87f9fc786e8..5fc16b3b1f1 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 -t '=' -k 1,1 -s -o $@ u-boot-initial-env: $(env_h) FORCE $(Q)$(MAKE) $(build)=tools $(objtree)/tools/printinitialenv