Makefile: Add missing quotes around sort --field-separator

Busybox sort does not handle --field-separator== , replace this
with --field-separator='=' for maximum compatibility.

Fixes: cc5a490cf4 ("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: Simon Glass <sjg@chromium.org>
This commit is contained in:
Marek Vasut 2023-07-11 14:15:53 +02:00 committed by Tom Rini
parent 2c120676ba
commit f59f5a869d

View file

@ -2444,7 +2444,7 @@ quiet_cmd_genenv = GENENV $@
cmd_genenv = \ cmd_genenv = \
$(objtree)/tools/printinitialenv | \ $(objtree)/tools/printinitialenv | \
sed -e '/^\s*$$/d' | \ 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 u-boot-initial-env: $(env_h) FORCE
$(Q)$(MAKE) $(build)=tools $(objtree)/tools/printinitialenv $(Q)$(MAKE) $(build)=tools $(objtree)/tools/printinitialenv