openwrt/target
John Crispin a18b35a2f1 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>

SVN-Revision: 46632
2015-08-17 06:01:44 +00:00
..
imagebuilder build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
linux ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh 2015-08-17 06:01:44 +00:00
sdk sdk: provide explicit CONFIG_MODULES kconfig symbol 2015-07-27 23:45:15 +00:00
toolchain toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix 2015-02-07 21:01:37 +00:00
Config.in build: remove obsolete references to cris and avr32 2015-03-24 10:07:40 +00:00
Makefile