diff options
author | John Crispin <blogic@openwrt.org> | 2015-08-17 06:01:44 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-08-17 06:01:44 +0000 |
commit | 800b35a914d19ea30d5509c3f2ed5bd1157ea0f9 (patch) | |
tree | 9de9726e8df443747d314e0423d63ce216cd51c7 /target/linux/ramips/dts | |
parent | c9c621207595e7ddcb07dd737aff732b94830b30 (diff) | |
download | master-187ad058-800b35a914d19ea30d5509c3f2ed5bd1157ea0f9.tar.gz master-187ad058-800b35a914d19ea30d5509c3f2ed5bd1157ea0f9.tar.bz2 master-187ad058-800b35a914d19ea30d5509c3f2ed5bd1157ea0f9.zip |
ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh
This patch:
* fixes various mistakes (leading spaces, wrong or missing model names)
* shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization)
* sorts boards alphabetically
in base-files/lib/ramips.sh script.
Case statement was tested after above changes with simple script, which:
* takes model string from dts{,i} file (model = "...")
* provides this value as case input ($machine)
* returns output ($name)
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46632 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts')
0 files changed, 0 insertions, 0 deletions