diff options
author | Christoph Niedermaier <cniedermaier@dh-electronics.com> | 2022-03-01 09:38:51 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-07 16:50:53 -0400 |
commit | cc5a490cf46565d3a42f86beaac05f56f4f40741 (patch) | |
tree | 5069dc35da0b9b1598576f46c1af34b4c4ad513f /drivers/ddr/imx/imx8m/ddrphy_utils.c | |
parent | 7d79cba28ca9bb02ba589eca2e80ce837d7d0ca8 (diff) |
Makefile: Sort u-boot-initial-env output
This will sort the default environment file generated by
"make u-boot-initial-env", but won't sort the default
environment in the compiled u-boot binary. The file
u-boot-initial-env is considered to use for the userpace
environment access tools [1] in case of that the
environments is written the first time into its location.
This is done on the one hand for a better overview and
comparison of the generated environment file. On the other
hand it is to synchronize the output with the script
get_default_env.sh, which generated a sorted default
environment file. The sorting preserves the order of equal
variable names by sorting only the variable name, and
disable the last-resort comparison. After sorting,
unnoticed blank lines at the end move to the top. Avoid
that by removing it before sorting.
[1] https://github.com/sbabic/libubootenv
Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Marek BehĂșn <marek.behun@nic.cz>
To: u-boot@lists.denx.de
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions