bcm63xx: Finalize support for DSL-274xB, rev C2.
[openwrt.git] / target / linux / brcm63xx / image / Makefile
index 6471138..588745c 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
@@ -153,8 +153,8 @@ define Image/Build
        $(call Image/Build/CFE,$(1),96348GW-10,6348,F5D7633)
        # D-Link DSL-2640B
        $(call Image/Build/CFE,$(1),D-4P-W,6348,DSL2640B)
-       # D-Link DSL-2740B
-       $(call Image/Build/CFE,$(1),96358GW,6358,DSL2740B)
+       # D-Link DSL-2740B/DSL-2741B, rev C2
+       $(call Image/Build/CFE,$(1),96358GW,6358,DSL274XB-C2)
 
        # TP-Link TD-8810A, TD-8810B, TD-8811A, TD-8811B
        $(call Image/Build/CFE,$(1),8L-2M-8M,6338,TP8810_8811)
This page took 0.030202 seconds and 4 git commands to generate.