mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 08:35:38 +00:00
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:
parent
2c120676ba
commit
f59f5a869d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue