diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-07-11 16:31:46 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-14 10:55:56 -0400 |
commit | 5b0421e67cc688766cc81829ffcede4ef0de36b0 (patch) | |
tree | c0ebfc9ab1a535f9a7c6b1ad8563e32f3d304b75 /include/configs/ethernut5.h | |
parent | 84f24ac8278d287581e5a559a7299e1dc2b53481 (diff) | |
download | blackbird-obmc-uboot-5b0421e67cc688766cc81829ffcede4ef0de36b0.tar.gz blackbird-obmc-uboot-5b0421e67cc688766cc81829ffcede4ef0de36b0.zip |
boards.cfg: keep it sorted filling the board field
The boards.cfg file has allowed to use "-" for the board (= 6th) field
if the board name is the same as the 7th field.
But I notice one problem.
Because tools/reformat.py sorts the lines in the simple alphabetical
order (= the order of character code), some entries for the same board
are not lined up together.
For example, "bf527-ezkit" and "bf527-ezkit-v2" share the same board.
But they are located separately because "bf527-ezkit" fills the board
field with "-" whereas "bf527-ezkit-v2" specifies it explicitely.
The similar things can be seen:
- between "trizepsive" and "polaris"
- between "RRvision" and "RRvision_LCD"
- between "korat" and "korat_perm"
- between "lwmon5" and "lcd4_lwmon5"
This commit was generated by the following command:
awk '$6 == "-" { $6 = $7 } { print }' boards.cfg \
| tools/reformat.py -i -d '-' -s 8 > boards0.cfg; \
mv boards0.cfg boards.cfg
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'include/configs/ethernut5.h')
0 files changed, 0 insertions, 0 deletions