X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/97de625a9bec39e549f09a9ceae10bf91457d92c..d26482830ebe68452ed97ed36192abbb543d00d5:/target/linux/brcm63xx/image/Makefile diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 64711383c..588745cd2 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -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)