[ar7] handle mvswitch in cpmac, rework MII probing logic, patch from sn9 and Wipster
[openwrt.git] / target / linux / brcm63xx / image / Makefile
index 6471138..be96a5f 100644 (file)
@@ -28,7 +28,7 @@ define trxalign/squashfs
 endef
 
 define Image/LimitName16
-       $(shell expr substr $(1) 1 16)
+$(shell expr substr "$(1)" 1 $$(expr length "$(1)"))
 endef
 
 define Image/Build/CFE
This page took 0.019574 seconds and 4 git commands to generate.