diff options
author | Marek Vasut <marex@denx.de> | 2023-07-20 14:50:42 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-25 12:44:47 -0400 |
commit | 779e38a5f54556ede4068c908c4a8f8bba7558f8 (patch) | |
tree | 9399c24cb317915606ec73a44778bb46d09e1de9 | |
parent | fdfbd70da69bce709253a0d84b7908786a0cc40d (diff) | |
download | u-boot-779e38a5f54556ede4068c908c4a8f8bba7558f8.tar.gz u-boot-779e38a5f54556ede4068c908c4a8f8bba7558f8.tar.bz2 u-boot-779e38a5f54556ede4068c908c4a8f8bba7558f8.zip |
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ć <mps@arvanta.net>
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Tested-by: Milan P. Stanić <mps@arvanta.net>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |