openwrt-owl/target/linux
John Crispin 0f155a330e ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scripts
Instead of using board name provided explicitly as text in LED name, ex.:

[...]
mlwg2)
	status_led="mlwg2:blue:system"
[...]

use $board variable, which allows to combine together multiple boards with same color and LED names, ex:

[...]
mlw221|\
mlwg2)
	status_led="$board:blue:system"
[...]

The above approach allows to shrink size of code in base-files/etc/board.d/01_leds and base-files/etc/diag.sh scripts dramatically.
One thing to keep in mind here is that we assume to use proper and consistent LED naming scheme ("device:color:led-name").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

SVN-Revision: 46665
2015-08-17 06:24:47 +00:00
..
adm5120 adm5120: do not config something as module 2015-07-14 20:52:18 +00:00
adm8668 build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
ar7 ar7: add linux 4.1 support 2015-07-05 21:32:44 +00:00
ar71xx ar71xx: add support for TP-Link TL-WDR6500 v2 2015-08-17 06:24:04 +00:00
arm64 arm64: use common image prefix 2015-05-27 14:57:38 +00:00
at91 at91: Backport determine_rate prototype fix 2015-08-17 06:16:29 +00:00
ath25 build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
au1000 image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
bcm53xx kernel: move linux, part-probe dt parsing in generic code 2015-08-17 06:17:37 +00:00
brcm47xx kernel: update 4.1 to 4.1.5 2015-08-14 13:06:33 +00:00
brcm63xx brcm63xx: move gzip build command to include/image.mk 2015-08-14 15:10:47 +00:00
brcm2708 brcm2708: override disabled device tree module status from config.txt 2015-08-17 06:04:48 +00:00
cns3xxx kernel: update 3.18 to 3.18.17 2015-06-30 23:26:09 +00:00
gemini kernel: refresh patches for 4.1 2015-07-22 12:51:11 +00:00
generic kernel: move linux, part-probe dt parsing in generic code 2015-08-17 06:17:37 +00:00
imx6
ipq806x ipq806x: switch AP148 to using SMEM based MTD parser 2015-08-17 06:18:15 +00:00
ixp4xx kernel: update 4.1 to 4.1.5 2015-08-14 13:06:33 +00:00
kirkwood kirkwood: add wpad-mini to router profiles 2015-08-05 13:56:02 +00:00
lantiq image.mk: move KDIR_TMP definition to a central location 2015-08-14 10:20:53 +00:00
malta build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
mcs814x mcs814x: use firmware partition splitter on dLAN USB Extender 2015-08-17 06:16:19 +00:00
mpc85xx mpc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1 2015-07-09 06:56:45 +00:00
mvebu image.mk: move KDIR_TMP definition to a central location 2015-08-14 10:20:53 +00:00
mxs kernel: update 4.1 to 4.1.4 2015-08-05 13:55:14 +00:00
netlogic
octeon octeon: fix imagebuilder 2015-05-29 11:28:20 +00:00
omap omap: use common image prefix 2015-05-27 15:34:30 +00:00
omap24xx
orion
oxnas oxnas: switch to kernel 4.1 2015-08-17 06:04:02 +00:00
ppc40x
ppc44x image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
pxa
ramips ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scripts 2015-08-17 06:24:47 +00:00
rb532
realview realview: use common image prefix 2015-05-27 15:34:38 +00:00
sunxi sunxi: respect CONFIG_TARGET_IMAGES_GZIP 2015-08-15 15:10:14 +00:00
uml
x86 kernel: remove kmod-crypto-aes, AES crypto support is always built into the kernel 2015-07-24 15:36:08 +00:00
xburst image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
Makefile