aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm47xx/image
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-07 13:12:43 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-12 19:01:47 +0200
commit1226113fe2b9aadf120bb8f771938665028f632c (patch)
treef60cd07b7f20b7611682664aa5f82fe445c0cbd3 /target/linux/bcm47xx/image
parentfeb55fd3ecfc3d02f212c1b2f1af748e3233ecd5 (diff)
downloadupstream-1226113fe2b9aadf120bb8f771938665028f632c.tar.gz
upstream-1226113fe2b9aadf120bb8f771938665028f632c.tar.bz2
upstream-1226113fe2b9aadf120bb8f771938665028f632c.zip
bcm47xx: move device definitions to subfiles
With several subtargets, the image/Makefile becomes crowded after a while. Many targets have moved their device definitions to $subtarget.mk files to have them more organized, let's do this here as well. Cc: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/bcm47xx/image')
-rw-r--r--target/linux/bcm47xx/image/Makefile854
-rw-r--r--target/linux/bcm47xx/image/generic.mk72
-rw-r--r--target/linux/bcm47xx/image/legacy.mk292
-rw-r--r--target/linux/bcm47xx/image/mips74k.mk482
4 files changed, 848 insertions, 852 deletions
diff --git a/target/linux/bcm47xx/image/Makefile b/target/linux/bcm47xx/image/Makefile
index 432e787cba..e08a3125bd 100644
--- a/target/linux/bcm47xx/image/Makefile
+++ b/target/linux/bcm47xx/image/Makefile
@@ -188,860 +188,10 @@ define Device/netgear
endef
#################################################
-# Subtarget generic
+# Subtarget devices
#################################################
-ifeq ($(SUBTARGET),generic)
- # BCM4705 with tg3
-define Device/linksys-wrt300n-v1.1
- DEVICE_MODEL := WRT300N
- DEVICE_VARIANT := v1.1
- DEVICE_PACKAGES := kmod-tg3 kmod-b43
- $(Device/linksys)
- DEVICE_ID := EWC2
- VERSION := 1.51.2
-endef
-TARGET_DEVICES += linksys-wrt300n-v1.1
-
-define Device/linksys-wrt310n-v1
- DEVICE_MODEL := WRT310N
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-tg3 kmod-b43
- $(Device/linksys)
- DEVICE_ID := 310N
- VERSION := 1.0.10
-endef
-TARGET_DEVICES += linksys-wrt310n-v1
-
-define Device/linksys-wrt350n-v1
- DEVICE_MODEL := WRT350N
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-tg3 kmod-b43 $(USB2_PACKAGES)
- $(Device/linksys)
- DEVICE_ID := EWCG
- VERSION := 1.04.1
-endef
-TARGET_DEVICES += linksys-wrt350n-v1
-
-define Device/linksys-wrt610n-v1
- DEVICE_MODEL := WRT610N
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-tg3 kmod-b43 $(USB2_PACKAGES)
- $(Device/linksys)
- DEVICE_ID := 610N
- VERSION := 1.0.1
-endef
-TARGET_DEVICES += linksys-wrt610n-v1
-
- # BCMA SoC with SSB WiFi
-define Device/linksys-wrt610n-v2
- DEVICE_MODEL := WRT610N
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-bgmac kmod-b43 $(USB2_PACKAGES)
- $(Device/linksys)
- DEVICE_ID := 610N
- VERSION := 2.0.0
-endef
-TARGET_DEVICES += linksys-wrt610n-v2
-
-define Device/linksys-e3000-v1
- DEVICE_MODEL := E3000
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-bgmac kmod-b43 $(USB2_PACKAGES)
- $(Device/linksys)
- DEVICE_ID := 61XN
- VERSION := 1.0.3
-endef
-TARGET_DEVICES += linksys-e3000-v1
-
-# generic has Ethernet drivers as modules so overwrite standard image
-define Device/standard
- DEVICE_TITLE := Image with LZMA loader and LZMA compressed kernel
- DEVICE_PACKAGES := kmod-b44 kmod-bgmac kmod-tg3
-endef
-TARGET_DEVICES += standard
-endif
-
-#################################################
-# Subtarget legacy
-#################################################
-
-ifeq ($(SUBTARGET),legacy)
-
-define Device/asus-wl-300g
- DEVICE_MODEL := WL-300g
- DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
- $(Device/asus)
- PRODUCTID := "WL300g "
-endef
-TARGET_DEVICES += asus-wl-300g
-
-define Device/asus-wl-320gp
- DEVICE_MODEL := WL-320gP
- DEVICE_PACKAGES := kmod-b43
- $(Device/asus)
- PRODUCTID := "WL320gP "
-endef
-TARGET_DEVICES += asus-wl-320gp
-
-define Device/asus-wl-330ge
- DEVICE_MODEL := WL-330gE
- DEVICE_PACKAGES := kmod-b43
- $(Device/asus)
- PRODUCTID := "WL-330gE "
-endef
-TARGET_DEVICES += asus-wl-330ge
-
-define Device/asus-wl-500gd
- DEVICE_MODEL := WL-500g Deluxe
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := "WL500gx "
-endef
-TARGET_DEVICES += asus-wl-500gd
-
-define Device/asus-wl-500gp-v1
- DEVICE_MODEL := WL-500gP
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := "WL500gp "
-endef
-TARGET_DEVICES += asus-wl-500gp-v1
-
-define Device/asus-wl-500gp-v2
- DEVICE_MODEL := WL-500gP
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := "WL500gpv2 "
-endef
-TARGET_DEVICES += asus-wl-500gp-v2
-
-define Device/asus-wl-500w
- DEVICE_MODEL := WL-500W
- DEVICE_PACKAGES := kmod-b43 kmod-usb-uhci kmod-usb2-pci
- $(Device/asus)
- PRODUCTID := "WL500W "
-endef
-TARGET_DEVICES += asus-wl-500w
-
-define Device/asus-wl-520gu
- DEVICE_MODEL := WL-520gU
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := "WL520gu "
-endef
-TARGET_DEVICES += asus-wl-520gu
-
-define Device/asus-wl-550ge
- DEVICE_MODEL := WL-550gE
- DEVICE_PACKAGES := kmod-b43
- $(Device/asus)
- PRODUCTID := "WL550gE "
-endef
-TARGET_DEVICES += asus-wl-550ge
-
-define Device/asus-wl-hdd25
- DEVICE_MODEL := WL-HDD25
- DEVICE_PACKAGES := kmod-b43 kmod-b43legacy $(USB1_PACKAGES)
- $(Device/asus)
- PRODUCTID := "WLHDD "
-endef
-TARGET_DEVICES += asus-wl-hdd25
-
-define Device/dlink-dwl-3150
- DEVICE_VENDOR := D-Link
- DEVICE_MODEL := DWL-3150
- IMAGES := bin
- IMAGE/bin := append-rootfs | trx-with-loader | tailed-bin
- BIN_TAIL := BCM-5352-2050-0000000-01
-endef
-TARGET_DEVICES += dlink-dwl-3150
-
-define Device/edimax-ps1208-mfg
- DEVICE_VENDOR := Edimax
- DEVICE_MODEL := PS-1208MFg
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- IMAGES := bin
- IMAGE/bin := append-rootfs | trx-with-loader | edimax-bin
-endef
-TARGET_DEVICES += edimax-ps1208-mfg
-
-define Device/huawei-e970
- DEVICE_VENDOR := Huawei
- DEVICE_MODEL := E970
- DEVICE_PACKAGES := kmod-b43
- KERNEL_NAME = vmlinux.gz
- IMAGES := bin
- IMAGE/bin := append-rootfs | trx-without-loader | huawei-bin
-endef
-TARGET_DEVICES += huawei-e970
-
-define Device/linksys-wrt54g3g
- DEVICE_MODEL := WRT54G3G
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := W54F
- VERSION := 2.20.1
-endef
-TARGET_DEVICES += linksys-wrt54g3g
-
-define Device/linksys-wrt54g3g-em
- DEVICE_MODEL := WRT54G3G-EM
- $(Device/linksys)
- DEVICE_ID := W3GN
- VERSION := 2.20.1
-endef
-TARGET_DEVICES += linksys-wrt54g3g-em
-
-define Device/linksys-wrt54g3gv2-vf
- DEVICE_VENDOR := Linksys
- DEVICE_MODEL := WRT54G3GV2-VF
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- FILESYSTEMS := $(FS_128K)
- IMAGES := noheader.bin bin
- IMAGE/noheader.bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader
- IMAGE/bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader | linksys-bin
- DEVICE_ID := 3G2V
- VERSION := 3.00.24
- SERIAL := 6
-endef
-TARGET_DEVICES += linksys-wrt54g3gv2-vf
-
-define Device/linksys-wrt54g
- DEVICE_MODEL := WRT54G
- DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
- $(Device/linksys)
- DEVICE_ID := W54G
- VERSION := 4.71.1
-endef
-TARGET_DEVICES += linksys-wrt54g
-
-define Device/linksys-wrt54gs
- DEVICE_MODEL := WRT54GS
- DEVICE_VARIANT := v1/v2/v3
- DEVICE_ALT0_VENDOR := Linksys
- DEVICE_ALT0_MODEL := WRT54G-TM
- DEVICE_ALT0_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- FILESYSTEMS := $(FS_128K)
- DEVICE_ID := W54S
- VERSION := 4.80.1
-endef
-TARGET_DEVICES += linksys-wrt54gs
-
-define Device/linksys-wrt54gs-v4
- DEVICE_MODEL := WRT54GS
- DEVICE_VARIANT := v4
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := W54s
- VERSION := 1.09.1
-endef
-TARGET_DEVICES += linksys-wrt54gs-v4
-
-define Device/linksys-wrtsl54gs
- DEVICE_MODEL := WRTSL54GS
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/linksys)
- FILESYSTEMS := $(FS_128K)
- DEVICE_ID := W54U
- VERSION := 2.08.1
-endef
-TARGET_DEVICES += linksys-wrtsl54gs
-
-define Device/linksys-wrt150n
- DEVICE_MODEL := WRT150N
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := N150
- VERSION := 1.51.3
-endef
-TARGET_DEVICES += linksys-wrt150n
-
-define Device/linksys-wrt160n-v1
- DEVICE_MODEL := WRT160N
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := N150
- VERSION := 1.50.1
-endef
-TARGET_DEVICES += linksys-wrt160n-v1
-
-define Device/linksys-wrt300n-v1
- DEVICE_MODEL := WRT300N
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- IMAGES := bin trx
- DEVICE_ID := EWCB
- VERSION := 1.03.6
-endef
-TARGET_DEVICES += linksys-wrt300n-v1
-
-define Device/motorola-wa840g
- DEVICE_MODEL := WA840G
- DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
- $(Device/motorola)
- MOTOROLA_DEVICE := 2
-endef
-TARGET_DEVICES += motorola-wa840g
-
-define Device/motorola-we800g
- DEVICE_MODEL := WE800G
- DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
- $(Device/motorola)
- MOTOROLA_DEVICE := 3
-endef
-TARGET_DEVICES += motorola-we800g
-
-define Device/motorola-wr850g
- DEVICE_MODEL := WR850G
- DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
- $(Device/motorola)
- MOTOROLA_DEVICE := 1
-endef
-TARGET_DEVICES += motorola-wr850g
-
-define Device/netgear-wgr614-v8
- DEVICE_MODEL := WGR614
- DEVICE_VARIANT := v8
- DEVICE_PACKAGES := kmod-b43
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H072T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wgr614-v8
-
-define Device/netgear-wgt634u
- DEVICE_VENDOR := NETGEAR
- DEVICE_MODEL := WGT634U
- DEVICE_PACKAGES := kmod-ath5k $(USB2_PACKAGES)
- FILESYSTEMS := $(FS_128K)
- IMAGES := bin
- IMAGE/bin := append-rootfs | trx-with-loader | prepend-with-elf
-endef
-TARGET_DEVICES += netgear-wgt634u
-
-define Device/netgear-wndr3300-v1
- DEVICE_MODEL := WNDR3300
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H093T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wndr3300-v1
-
-define Device/netgear-wnr834b-v2
- DEVICE_MODEL := WNR834B
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-b43
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H081T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wnr834b-v2
-
-define Device/usrobotics-usr5461
- DEVICE_VENDOR := US Robotics
- DEVICE_MODEL := USR5461
- DEVICE_PACKAGES := kmod-b43 $(USB1_PACKAGES)
- IMAGES := bin
- IMAGE/bin := append-rootfs | trx-with-loader | usrobotics-bin
-endef
-TARGET_DEVICES += usrobotics-usr5461
-
-TARGET_DEVICES += standard standard-noloader-gz
-endif
-
-#################################################
-# Subtarget mips74k
-#################################################
-
-ifeq ($(SUBTARGET),mips74k)
-define Device/asus-rt-ac53u
- DEVICE_MODEL := RT-AC53U
- DEVICE_PACKAGES := $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-AC53U
-endef
-TARGET_DEVICES += asus-rt-ac53u
-
-define Device/asus-rt-ac66u
- DEVICE_MODEL := RT-AC66U
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-AC66U
-endef
-# TARGET_DEVICES += asus-rt-ac66u
-
-define Device/asus-rt-n10
- DEVICE_MODEL := RT-N10
- DEVICE_PACKAGES := kmod-b43
- $(Device/asus)
- PRODUCTID := "RT-N10 "
-endef
-TARGET_DEVICES += asus-rt-n10
-
-define Device/asus-rt-n10p
- DEVICE_MODEL := RT-N10P
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/asus)
- PRODUCTID := RT-N10P
-endef
-TARGET_DEVICES += asus-rt-n10p
-
-define Device/asus-rt-n10p-v2
- DEVICE_MODEL := RT-N10P
- DEVICE_VARIANT := v2
- $(Device/asus)
- PRODUCTID := RT-N10PV2
-endef
-TARGET_DEVICES += asus-rt-n10p-v2
-
-define Device/asus-rt-n10u
- DEVICE_MODEL := RT-N10U
- DEVICE_VARIANT := A
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-N10U
-endef
-TARGET_DEVICES += asus-rt-n10u
-
-define Device/asus-rt-n10u-b
- DEVICE_MODEL := RT-N10U
- DEVICE_VARIANT := B
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-N10U
-endef
-TARGET_DEVICES += asus-rt-n10u-b
-
-define Device/asus-rt-n12
- DEVICE_MODEL := RT-N12
- DEVICE_VARIANT := A1
- DEVICE_PACKAGES := kmod-b43
- $(Device/asus)
- PRODUCTID := "RT-N12 "
-endef
-TARGET_DEVICES += asus-rt-n12
-
-define Device/asus-rt-n12-b1
- DEVICE_MODEL := RT-N12
- DEVICE_VARIANT := B1
- $(Device/asus)
- PRODUCTID := RT-N12B1
-endef
-TARGET_DEVICES += asus-rt-n12-b1
-
-define Device/asus-rt-n12-c1
- DEVICE_MODEL := RT-N12
- DEVICE_VARIANT := C1
- $(Device/asus)
- PRODUCTID := RT-N12C1
-endef
-TARGET_DEVICES += asus-rt-n12-c1
-
-define Device/asus-rt-n12-d1
- DEVICE_MODEL := RT-N12
- DEVICE_VARIANT := D1
- $(Device/asus)
- PRODUCTID := RT-N12D1
-endef
-TARGET_DEVICES += asus-rt-n12-d1
-
-define Device/asus-rt-n12hp
- DEVICE_MODEL := RT-N12HP
- $(Device/asus)
- PRODUCTID := RT-N12HP
-endef
-TARGET_DEVICES += asus-rt-n12hp
-
-define Device/asus-rt-n14uhp
- DEVICE_MODEL := RT-N14UHP
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-N14UHP
-endef
-TARGET_DEVICES += asus-rt-n14uhp
-
-define Device/asus-rt-n15u
- DEVICE_MODEL := RT-N15U
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-N15U
-endef
-TARGET_DEVICES += asus-rt-n15u
-
-define Device/asus-rt-n16
- DEVICE_MODEL := RT-N16
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-N16
-endef
-TARGET_DEVICES += asus-rt-n16
-
-define Device/asus-rt-n53
- DEVICE_MODEL := RT-N53
- DEVICE_PACKAGES := kmod-b43
- $(Device/asus)
- PRODUCTID := RT-N53
-endef
-TARGET_DEVICES += asus-rt-n53
-
-define Device/asus-rt-n66u
- DEVICE_MODEL := RT-N66U
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-N66U
-endef
-TARGET_DEVICES += asus-rt-n66u
-
-define Device/asus-rt-n66w
- DEVICE_MODEL := RT-N66W
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/asus)
- PRODUCTID := RT-N66U
-endef
-TARGET_DEVICES += asus-rt-n66w
-
-define Device/linksys-wrt160n-v3
- DEVICE_MODEL := WRT160N
- DEVICE_VARIANT := v3
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := N150
- VERSION := 3.0.3
-endef
-TARGET_DEVICES += linksys-wrt160n-v3
-
-define Device/linksys-wrt310n-v2
- DEVICE_MODEL := WRT310N
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := 310N
- VERSION := 2.0.1
-endef
-TARGET_DEVICES += linksys-wrt310n-v2
-
-define Device/linksys-wrt320n-v1
- DEVICE_MODEL := WRT320N
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := 320N
- VERSION := 1.0.5
-endef
-TARGET_DEVICES += linksys-wrt320n-v1
-
-define Device/linksys-e900-v1
- DEVICE_MODEL := E900
- DEVICE_VARIANT := v1
- $(Device/linksys)
- DEVICE_ID := E900
- VERSION := 1.0.4
-endef
-TARGET_DEVICES += linksys-e900-v1
-
-define Device/linksys-e1000
- DEVICE_MODEL := E1000
- DEVICE_VARIANT := v1/v2/v2.1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := E100
- VERSION := 1.1.3
-endef
-TARGET_DEVICES += linksys-e1000
-
-define Device/linksys-e1200-v1
- DEVICE_MODEL := E1200
- DEVICE_VARIANT := v1
- $(Device/linksys)
- DEVICE_ID := E120
- VERSION := 1.0.3
-endef
-TARGET_DEVICES += linksys-e1200-v1
-
-define Device/linksys-e1200-v2
- DEVICE_MODEL := E1200
- DEVICE_VARIANT := v2
- $(Device/linksys)
- DEVICE_ID := E122
- VERSION := 1.0.4
-endef
-TARGET_DEVICES += linksys-e1200-v2
-
-define Device/linksys-e1500-v1
- DEVICE_MODEL := E1500
- DEVICE_VARIANT := v1
- $(Device/linksys)
- DEVICE_ID := E150
- VERSION := 1.0.5
-endef
-TARGET_DEVICES += linksys-e1500-v1
-
-define Device/linksys-e1550-v1
- DEVICE_MODEL := E1550
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/linksys)
- DEVICE_ID := 1550
- VERSION := 1.0.3
-endef
-TARGET_DEVICES += linksys-e1550-v1
-
-define Device/linksys-e2000-v1
- DEVICE_MODEL := E2000
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := 32XN
- VERSION := 1.0.4
-endef
-TARGET_DEVICES += linksys-e2000-v1
-
-define Device/linksys-e2500-v1
- DEVICE_MODEL := E2500
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := E25X
- VERSION := 1.0.7
-endef
-TARGET_DEVICES += linksys-e2500-v1
-
-define Device/linksys-e2500-v2
- DEVICE_MODEL := E2500
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := E25X
- VERSION := 2.0.0
-endef
-TARGET_DEVICES += linksys-e2500-v2
-
-define Device/linksys-e2500-v2.1
- DEVICE_MODEL := E2500
- DEVICE_VARIANT := v2.1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := 25RU
- VERSION := 2.1.0
-endef
-TARGET_DEVICES += linksys-e2500-v2.1
-
-define Device/linksys-e2500-v3
- DEVICE_MODEL := E2500
- DEVICE_VARIANT := v3
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := 25V3
- VERSION := 3.0.0
-endef
-TARGET_DEVICES += linksys-e2500-v3
-
-define Device/linksys-e3200-v1
- DEVICE_MODEL := E3200
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/linksys)
- DEVICE_ID := 3200
- VERSION := 1.0.1
-endef
-TARGET_DEVICES += linksys-e3200-v1
-
-define Device/linksys-e4200-v1
- DEVICE_MODEL := E4200
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/linksys)
- DEVICE_ID := 4200
- VERSION := 1.0.5
-endef
-TARGET_DEVICES += linksys-e4200-v1
-
-define Device/netgear-wgr614-v10-na
- DEVICE_MODEL := WGR614
- DEVICE_VARIANT := v10 (NA)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H139T01_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wgr614-v10-na
-
-define Device/netgear-wgr614-v10
- DEVICE_MODEL := WGR614
- DEVICE_VARIANT := v10
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H139T01_NETGEAR
- NETGEAR_REGION := 1
-endef
-TARGET_DEVICES += netgear-wgr614-v10
-
-define Device/netgear-wn2500rp-v1
- DEVICE_MODEL := WN2500RP
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H197T00_NETGEAR
- NETGEAR_REGION := 1
-endef
-TARGET_DEVICES += netgear-wn2500rp-v1
-
-define Device/netgear-wn3000rp
- DEVICE_MODEL := WN3000RP
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H163T01_NETGEAR
- NETGEAR_REGION := 1
-endef
-TARGET_DEVICES += netgear-wn3000rp
-
-define Device/netgear-wndr3400-v1
- DEVICE_MODEL := WNDR3400
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H155T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wndr3400-v1
-
-define Device/netgear-wndr3400-v2
- DEVICE_MODEL := WNDR3400
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H187T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wndr3400-v2
-
-define Device/netgear-wndr3400-v3
- DEVICE_MODEL := WNDR3400
- DEVICE_VARIANT := v3
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H208T00_NETGEAR
- NETGEAR_REGION := 1
-endef
-TARGET_DEVICES += netgear-wndr3400-v3
-
-define Device/netgear-wndr3700-v3
- DEVICE_MODEL := WNDR3700
- DEVICE_VARIANT := v3
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H194T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wndr3700-v3
-
-define Device/netgear-wndr3400-vcna
- DEVICE_MODEL := WNDR3400
- DEVICE_VARIANT := vcna
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H155T01_NETGEAR
- NETGEAR_REGION := 2
-endef
-# TARGET_DEVICES += netgear-wndr3400-vcna
-
-define Device/netgear-wndr4000
- DEVICE_MODEL := WNDR4000
- DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H181T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wndr4000
-
-define Device/netgear-wnr1000-v3
- DEVICE_MODEL := WNR1000
- DEVICE_VARIANT := v3
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H139T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wnr1000-v3
-
-define Device/netgear-wnr2000v2
- DEVICE_MODEL := WNR2000
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-b43
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H114T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wnr2000v2
-
-define Device/netgear-wnr3500l-v1-na
- DEVICE_MODEL := WNR3500L
- DEVICE_VARIANT := v1 (NA)
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H136T99_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wnr3500l-v1-na
-
-define Device/netgear-wnr3500l-v1
- DEVICE_MODEL := WNR3500L
- DEVICE_VARIANT := v1 (ROW)
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H136T99_NETGEAR
- NETGEAR_REGION := 1
-endef
-TARGET_DEVICES += netgear-wnr3500l-v1
-
-define Device/netgear-wnr3500l-v2
- DEVICE_MODEL := WNR3500L
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H172T00_NETGEAR
- NETGEAR_REGION := 1
-endef
-TARGET_DEVICES += netgear-wnr3500l-v2
-
-define Device/netgear-wnr3500u
- DEVICE_MODEL := WNR3500U
- DEVICE_PACKAGES := $(USB2_PACKAGES)
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H136T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-# TARGET_DEVICES += netgear-wnr3500u
-
-define Device/netgear-wnr3500-v2
- DEVICE_MODEL := WNR3500
- DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-b43
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H127T00_NETGEAR
- NETGEAR_REGION := 2
-endef
-TARGET_DEVICES += netgear-wnr3500-v2
-
-define Device/netgear-wnr3500-v2-vc
- DEVICE_MODEL := WNR3500
- DEVICE_VARIANT := v2 (VC)
- DEVICE_PACKAGES := kmod-b43
- $(Device/netgear)
- NETGEAR_BOARD_ID := U12H127T70_NETGEAR
- NETGEAR_REGION := 2
-endef
-# TARGET_DEVICES += netgear-wnr3500-v2-vc
-
-TARGET_DEVICES += standard standard-noloader-nodictionarylzma
-endif
+include $(SUBTARGET).mk
#################################################
# Shared BuildImage defines
diff --git a/target/linux/bcm47xx/image/generic.mk b/target/linux/bcm47xx/image/generic.mk
new file mode 100644
index 0000000000..e5ae952137
--- /dev/null
+++ b/target/linux/bcm47xx/image/generic.mk
@@ -0,0 +1,72 @@
+#################################################
+# Subtarget generic
+#################################################
+
+ # BCM4705 with tg3
+define Device/linksys-wrt300n-v1.1
+ DEVICE_MODEL := WRT300N
+ DEVICE_VARIANT := v1.1
+ DEVICE_PACKAGES := kmod-tg3 kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := EWC2
+ VERSION := 1.51.2
+endef
+TARGET_DEVICES += linksys-wrt300n-v1.1
+
+define Device/linksys-wrt310n-v1
+ DEVICE_MODEL := WRT310N
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-tg3 kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := 310N
+ VERSION := 1.0.10
+endef
+TARGET_DEVICES += linksys-wrt310n-v1
+
+define Device/linksys-wrt350n-v1
+ DEVICE_MODEL := WRT350N
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-tg3 kmod-b43 $(USB2_PACKAGES)
+ $(Device/linksys)
+ DEVICE_ID := EWCG
+ VERSION := 1.04.1
+endef
+TARGET_DEVICES += linksys-wrt350n-v1
+
+define Device/linksys-wrt610n-v1
+ DEVICE_MODEL := WRT610N
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-tg3 kmod-b43 $(USB2_PACKAGES)
+ $(Device/linksys)
+ DEVICE_ID := 610N
+ VERSION := 1.0.1
+endef
+TARGET_DEVICES += linksys-wrt610n-v1
+
+ # BCMA SoC with SSB WiFi
+define Device/linksys-wrt610n-v2
+ DEVICE_MODEL := WRT610N
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-bgmac kmod-b43 $(USB2_PACKAGES)
+ $(Device/linksys)
+ DEVICE_ID := 610N
+ VERSION := 2.0.0
+endef
+TARGET_DEVICES += linksys-wrt610n-v2
+
+define Device/linksys-e3000-v1
+ DEVICE_MODEL := E3000
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-bgmac kmod-b43 $(USB2_PACKAGES)
+ $(Device/linksys)
+ DEVICE_ID := 61XN
+ VERSION := 1.0.3
+endef
+TARGET_DEVICES += linksys-e3000-v1
+
+# generic has Ethernet drivers as modules so overwrite standard image
+define Device/standard
+ DEVICE_TITLE := Image with LZMA loader and LZMA compressed kernel
+ DEVICE_PACKAGES := kmod-b44 kmod-bgmac kmod-tg3
+endef
+TARGET_DEVICES += standard
diff --git a/target/linux/bcm47xx/image/legacy.mk b/target/linux/bcm47xx/image/legacy.mk
new file mode 100644
index 0000000000..66d7efd5d2
--- /dev/null
+++ b/target/linux/bcm47xx/image/legacy.mk
@@ -0,0 +1,292 @@
+#################################################
+# Subtarget legacy
+#################################################
+
+define Device/asus-wl-300g
+ DEVICE_MODEL := WL-300g
+ DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
+ $(Device/asus)
+ PRODUCTID := "WL300g "
+endef
+TARGET_DEVICES += asus-wl-300g
+
+define Device/asus-wl-320gp
+ DEVICE_MODEL := WL-320gP
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/asus)
+ PRODUCTID := "WL320gP "
+endef
+TARGET_DEVICES += asus-wl-320gp
+
+define Device/asus-wl-330ge
+ DEVICE_MODEL := WL-330gE
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/asus)
+ PRODUCTID := "WL-330gE "
+endef
+TARGET_DEVICES += asus-wl-330ge
+
+define Device/asus-wl-500gd
+ DEVICE_MODEL := WL-500g Deluxe
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := "WL500gx "
+endef
+TARGET_DEVICES += asus-wl-500gd
+
+define Device/asus-wl-500gp-v1
+ DEVICE_MODEL := WL-500gP
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := "WL500gp "
+endef
+TARGET_DEVICES += asus-wl-500gp-v1
+
+define Device/asus-wl-500gp-v2
+ DEVICE_MODEL := WL-500gP
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := "WL500gpv2 "
+endef
+TARGET_DEVICES += asus-wl-500gp-v2
+
+define Device/asus-wl-500w
+ DEVICE_MODEL := WL-500W
+ DEVICE_PACKAGES := kmod-b43 kmod-usb-uhci kmod-usb2-pci
+ $(Device/asus)
+ PRODUCTID := "WL500W "
+endef
+TARGET_DEVICES += asus-wl-500w
+
+define Device/asus-wl-520gu
+ DEVICE_MODEL := WL-520gU
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := "WL520gu "
+endef
+TARGET_DEVICES += asus-wl-520gu
+
+define Device/asus-wl-550ge
+ DEVICE_MODEL := WL-550gE
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/asus)
+ PRODUCTID := "WL550gE "
+endef
+TARGET_DEVICES += asus-wl-550ge
+
+define Device/asus-wl-hdd25
+ DEVICE_MODEL := WL-HDD25
+ DEVICE_PACKAGES := kmod-b43 kmod-b43legacy $(USB1_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := "WLHDD "
+endef
+TARGET_DEVICES += asus-wl-hdd25
+
+define Device/dlink-dwl-3150
+ DEVICE_VENDOR := D-Link
+ DEVICE_MODEL := DWL-3150
+ IMAGES := bin
+ IMAGE/bin := append-rootfs | trx-with-loader | tailed-bin
+ BIN_TAIL := BCM-5352-2050-0000000-01
+endef
+TARGET_DEVICES += dlink-dwl-3150
+
+define Device/edimax-ps1208-mfg
+ DEVICE_VENDOR := Edimax
+ DEVICE_MODEL := PS-1208MFg
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ IMAGES := bin
+ IMAGE/bin := append-rootfs | trx-with-loader | edimax-bin
+endef
+TARGET_DEVICES += edimax-ps1208-mfg
+
+define Device/huawei-e970
+ DEVICE_VENDOR := Huawei
+ DEVICE_MODEL := E970
+ DEVICE_PACKAGES := kmod-b43
+ KERNEL_NAME = vmlinux.gz
+ IMAGES := bin
+ IMAGE/bin := append-rootfs | trx-without-loader | huawei-bin
+endef
+TARGET_DEVICES += huawei-e970
+
+define Device/linksys-wrt54g3g
+ DEVICE_MODEL := WRT54G3G
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := W54F
+ VERSION := 2.20.1
+endef
+TARGET_DEVICES += linksys-wrt54g3g
+
+define Device/linksys-wrt54g3g-em
+ DEVICE_MODEL := WRT54G3G-EM
+ $(Device/linksys)
+ DEVICE_ID := W3GN
+ VERSION := 2.20.1
+endef
+TARGET_DEVICES += linksys-wrt54g3g-em
+
+define Device/linksys-wrt54g3gv2-vf
+ DEVICE_VENDOR := Linksys
+ DEVICE_MODEL := WRT54G3GV2-VF
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ FILESYSTEMS := $(FS_128K)
+ IMAGES := noheader.bin bin
+ IMAGE/noheader.bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader
+ IMAGE/bin := linksys-pattern-partition | append-rootfs | trx-v2-with-loader | linksys-bin
+ DEVICE_ID := 3G2V
+ VERSION := 3.00.24
+ SERIAL := 6
+endef
+TARGET_DEVICES += linksys-wrt54g3gv2-vf
+
+define Device/linksys-wrt54g
+ DEVICE_MODEL := WRT54G
+ DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
+ $(Device/linksys)
+ DEVICE_ID := W54G
+ VERSION := 4.71.1
+endef
+TARGET_DEVICES += linksys-wrt54g
+
+define Device/linksys-wrt54gs
+ DEVICE_MODEL := WRT54GS
+ DEVICE_VARIANT := v1/v2/v3
+ DEVICE_ALT0_VENDOR := Linksys
+ DEVICE_ALT0_MODEL := WRT54G-TM
+ DEVICE_ALT0_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ FILESYSTEMS := $(FS_128K)
+ DEVICE_ID := W54S
+ VERSION := 4.80.1
+endef
+TARGET_DEVICES += linksys-wrt54gs
+
+define Device/linksys-wrt54gs-v4
+ DEVICE_MODEL := WRT54GS
+ DEVICE_VARIANT := v4
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := W54s
+ VERSION := 1.09.1
+endef
+TARGET_DEVICES += linksys-wrt54gs-v4
+
+define Device/linksys-wrtsl54gs
+ DEVICE_MODEL := WRTSL54GS
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/linksys)
+ FILESYSTEMS := $(FS_128K)
+ DEVICE_ID := W54U
+ VERSION := 2.08.1
+endef
+TARGET_DEVICES += linksys-wrtsl54gs
+
+define Device/linksys-wrt150n
+ DEVICE_MODEL := WRT150N
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := N150
+ VERSION := 1.51.3
+endef
+TARGET_DEVICES += linksys-wrt150n
+
+define Device/linksys-wrt160n-v1
+ DEVICE_MODEL := WRT160N
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := N150
+ VERSION := 1.50.1
+endef
+TARGET_DEVICES += linksys-wrt160n-v1
+
+define Device/linksys-wrt300n-v1
+ DEVICE_MODEL := WRT300N
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ IMAGES := bin trx
+ DEVICE_ID := EWCB
+ VERSION := 1.03.6
+endef
+TARGET_DEVICES += linksys-wrt300n-v1
+
+define Device/motorola-wa840g
+ DEVICE_MODEL := WA840G
+ DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
+ $(Device/motorola)
+ MOTOROLA_DEVICE := 2
+endef
+TARGET_DEVICES += motorola-wa840g
+
+define Device/motorola-we800g
+ DEVICE_MODEL := WE800G
+ DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
+ $(Device/motorola)
+ MOTOROLA_DEVICE := 3
+endef
+TARGET_DEVICES += motorola-we800g
+
+define Device/motorola-wr850g
+ DEVICE_MODEL := WR850G
+ DEVICE_PACKAGES := kmod-b43 kmod-b43legacy
+ $(Device/motorola)
+ MOTOROLA_DEVICE := 1
+endef
+TARGET_DEVICES += motorola-wr850g
+
+define Device/netgear-wgr614-v8
+ DEVICE_MODEL := WGR614
+ DEVICE_VARIANT := v8
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H072T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wgr614-v8
+
+define Device/netgear-wgt634u
+ DEVICE_VENDOR := NETGEAR
+ DEVICE_MODEL := WGT634U
+ DEVICE_PACKAGES := kmod-ath5k $(USB2_PACKAGES)
+ FILESYSTEMS := $(FS_128K)
+ IMAGES := bin
+ IMAGE/bin := append-rootfs | trx-with-loader | prepend-with-elf
+endef
+TARGET_DEVICES += netgear-wgt634u
+
+define Device/netgear-wndr3300-v1
+ DEVICE_MODEL := WNDR3300
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H093T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wndr3300-v1
+
+define Device/netgear-wnr834b-v2
+ DEVICE_MODEL := WNR834B
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H081T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wnr834b-v2
+
+define Device/usrobotics-usr5461
+ DEVICE_VENDOR := US Robotics
+ DEVICE_MODEL := USR5461
+ DEVICE_PACKAGES := kmod-b43 $(USB1_PACKAGES)
+ IMAGES := bin
+ IMAGE/bin := append-rootfs | trx-with-loader | usrobotics-bin
+endef
+TARGET_DEVICES += usrobotics-usr5461
+
+TARGET_DEVICES += standard standard-noloader-gz
diff --git a/target/linux/bcm47xx/image/mips74k.mk b/target/linux/bcm47xx/image/mips74k.mk
new file mode 100644
index 0000000000..82e045745c
--- /dev/null
+++ b/target/linux/bcm47xx/image/mips74k.mk
@@ -0,0 +1,482 @@
+#################################################
+# Subtarget mips74k
+#################################################
+
+define Device/asus-rt-ac53u
+ DEVICE_MODEL := RT-AC53U
+ DEVICE_PACKAGES := $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-AC53U
+endef
+TARGET_DEVICES += asus-rt-ac53u
+
+define Device/asus-rt-ac66u
+ DEVICE_MODEL := RT-AC66U
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-AC66U
+endef
+# TARGET_DEVICES += asus-rt-ac66u
+
+define Device/asus-rt-n10
+ DEVICE_MODEL := RT-N10
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/asus)
+ PRODUCTID := "RT-N10 "
+endef
+TARGET_DEVICES += asus-rt-n10
+
+define Device/asus-rt-n10p
+ DEVICE_MODEL := RT-N10P
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/asus)
+ PRODUCTID := RT-N10P
+endef
+TARGET_DEVICES += asus-rt-n10p
+
+define Device/asus-rt-n10p-v2
+ DEVICE_MODEL := RT-N10P
+ DEVICE_VARIANT := v2
+ $(Device/asus)
+ PRODUCTID := RT-N10PV2
+endef
+TARGET_DEVICES += asus-rt-n10p-v2
+
+define Device/asus-rt-n10u
+ DEVICE_MODEL := RT-N10U
+ DEVICE_VARIANT := A
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-N10U
+endef
+TARGET_DEVICES += asus-rt-n10u
+
+define Device/asus-rt-n10u-b
+ DEVICE_MODEL := RT-N10U
+ DEVICE_VARIANT := B
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-N10U
+endef
+TARGET_DEVICES += asus-rt-n10u-b
+
+define Device/asus-rt-n12
+ DEVICE_MODEL := RT-N12
+ DEVICE_VARIANT := A1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/asus)
+ PRODUCTID := "RT-N12 "
+endef
+TARGET_DEVICES += asus-rt-n12
+
+define Device/asus-rt-n12-b1
+ DEVICE_MODEL := RT-N12
+ DEVICE_VARIANT := B1
+ $(Device/asus)
+ PRODUCTID := RT-N12B1
+endef
+TARGET_DEVICES += asus-rt-n12-b1
+
+define Device/asus-rt-n12-c1
+ DEVICE_MODEL := RT-N12
+ DEVICE_VARIANT := C1
+ $(Device/asus)
+ PRODUCTID := RT-N12C1
+endef
+TARGET_DEVICES += asus-rt-n12-c1
+
+define Device/asus-rt-n12-d1
+ DEVICE_MODEL := RT-N12
+ DEVICE_VARIANT := D1
+ $(Device/asus)
+ PRODUCTID := RT-N12D1
+endef
+TARGET_DEVICES += asus-rt-n12-d1
+
+define Device/asus-rt-n12hp
+ DEVICE_MODEL := RT-N12HP
+ $(Device/asus)
+ PRODUCTID := RT-N12HP
+endef
+TARGET_DEVICES += asus-rt-n12hp
+
+define Device/asus-rt-n14uhp
+ DEVICE_MODEL := RT-N14UHP
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-N14UHP
+endef
+TARGET_DEVICES += asus-rt-n14uhp
+
+define Device/asus-rt-n15u
+ DEVICE_MODEL := RT-N15U
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-N15U
+endef
+TARGET_DEVICES += asus-rt-n15u
+
+define Device/asus-rt-n16
+ DEVICE_MODEL := RT-N16
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-N16
+endef
+TARGET_DEVICES += asus-rt-n16
+
+define Device/asus-rt-n53
+ DEVICE_MODEL := RT-N53
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/asus)
+ PRODUCTID := RT-N53
+endef
+TARGET_DEVICES += asus-rt-n53
+
+define Device/asus-rt-n66u
+ DEVICE_MODEL := RT-N66U
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-N66U
+endef
+TARGET_DEVICES += asus-rt-n66u
+
+define Device/asus-rt-n66w
+ DEVICE_MODEL := RT-N66W
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/asus)
+ PRODUCTID := RT-N66U
+endef
+TARGET_DEVICES += asus-rt-n66w
+
+define Device/linksys-wrt160n-v3
+ DEVICE_MODEL := WRT160N
+ DEVICE_VARIANT := v3
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := N150
+ VERSION := 3.0.3
+endef
+TARGET_DEVICES += linksys-wrt160n-v3
+
+define Device/linksys-wrt310n-v2
+ DEVICE_MODEL := WRT310N
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := 310N
+ VERSION := 2.0.1
+endef
+TARGET_DEVICES += linksys-wrt310n-v2
+
+define Device/linksys-wrt320n-v1
+ DEVICE_MODEL := WRT320N
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := 320N
+ VERSION := 1.0.5
+endef
+TARGET_DEVICES += linksys-wrt320n-v1
+
+define Device/linksys-e900-v1
+ DEVICE_MODEL := E900
+ DEVICE_VARIANT := v1
+ $(Device/linksys)
+ DEVICE_ID := E900
+ VERSION := 1.0.4
+endef
+TARGET_DEVICES += linksys-e900-v1
+
+define Device/linksys-e1000
+ DEVICE_MODEL := E1000
+ DEVICE_VARIANT := v1/v2/v2.1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := E100
+ VERSION := 1.1.3
+endef
+TARGET_DEVICES += linksys-e1000
+
+define Device/linksys-e1200-v1
+ DEVICE_MODEL := E1200
+ DEVICE_VARIANT := v1
+ $(Device/linksys)
+ DEVICE_ID := E120
+ VERSION := 1.0.3
+endef
+TARGET_DEVICES += linksys-e1200-v1
+
+define Device/linksys-e1200-v2
+ DEVICE_MODEL := E1200
+ DEVICE_VARIANT := v2
+ $(Device/linksys)
+ DEVICE_ID := E122
+ VERSION := 1.0.4
+endef
+TARGET_DEVICES += linksys-e1200-v2
+
+define Device/linksys-e1500-v1
+ DEVICE_MODEL := E1500
+ DEVICE_VARIANT := v1
+ $(Device/linksys)
+ DEVICE_ID := E150
+ VERSION := 1.0.5
+endef
+TARGET_DEVICES += linksys-e1500-v1
+
+define Device/linksys-e1550-v1
+ DEVICE_MODEL := E1550
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/linksys)
+ DEVICE_ID := 1550
+ VERSION := 1.0.3
+endef
+TARGET_DEVICES += linksys-e1550-v1
+
+define Device/linksys-e2000-v1
+ DEVICE_MODEL := E2000
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := 32XN
+ VERSION := 1.0.4
+endef
+TARGET_DEVICES += linksys-e2000-v1
+
+define Device/linksys-e2500-v1
+ DEVICE_MODEL := E2500
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := E25X
+ VERSION := 1.0.7
+endef
+TARGET_DEVICES += linksys-e2500-v1
+
+define Device/linksys-e2500-v2
+ DEVICE_MODEL := E2500
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := E25X
+ VERSION := 2.0.0
+endef
+TARGET_DEVICES += linksys-e2500-v2
+
+define Device/linksys-e2500-v2.1
+ DEVICE_MODEL := E2500
+ DEVICE_VARIANT := v2.1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := 25RU
+ VERSION := 2.1.0
+endef
+TARGET_DEVICES += linksys-e2500-v2.1
+
+define Device/linksys-e2500-v3
+ DEVICE_MODEL := E2500
+ DEVICE_VARIANT := v3
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := 25V3
+ VERSION := 3.0.0
+endef
+TARGET_DEVICES += linksys-e2500-v3
+
+define Device/linksys-e3200-v1
+ DEVICE_MODEL := E3200
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/linksys)
+ DEVICE_ID := 3200
+ VERSION := 1.0.1
+endef
+TARGET_DEVICES += linksys-e3200-v1
+
+define Device/linksys-e4200-v1
+ DEVICE_MODEL := E4200
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/linksys)
+ DEVICE_ID := 4200
+ VERSION := 1.0.5
+endef
+TARGET_DEVICES += linksys-e4200-v1
+
+define Device/netgear-wgr614-v10-na
+ DEVICE_MODEL := WGR614
+ DEVICE_VARIANT := v10 (NA)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H139T01_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wgr614-v10-na
+
+define Device/netgear-wgr614-v10
+ DEVICE_MODEL := WGR614
+ DEVICE_VARIANT := v10
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H139T01_NETGEAR
+ NETGEAR_REGION := 1
+endef
+TARGET_DEVICES += netgear-wgr614-v10
+
+define Device/netgear-wn2500rp-v1
+ DEVICE_MODEL := WN2500RP
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H197T00_NETGEAR
+ NETGEAR_REGION := 1
+endef
+TARGET_DEVICES += netgear-wn2500rp-v1
+
+define Device/netgear-wn3000rp
+ DEVICE_MODEL := WN3000RP
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H163T01_NETGEAR
+ NETGEAR_REGION := 1
+endef
+TARGET_DEVICES += netgear-wn3000rp
+
+define Device/netgear-wndr3400-v1
+ DEVICE_MODEL := WNDR3400
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H155T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wndr3400-v1
+
+define Device/netgear-wndr3400-v2
+ DEVICE_MODEL := WNDR3400
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H187T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wndr3400-v2
+
+define Device/netgear-wndr3400-v3
+ DEVICE_MODEL := WNDR3400
+ DEVICE_VARIANT := v3
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H208T00_NETGEAR
+ NETGEAR_REGION := 1
+endef
+TARGET_DEVICES += netgear-wndr3400-v3
+
+define Device/netgear-wndr3700-v3
+ DEVICE_MODEL := WNDR3700
+ DEVICE_VARIANT := v3
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H194T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wndr3700-v3
+
+define Device/netgear-wndr3400-vcna
+ DEVICE_MODEL := WNDR3400
+ DEVICE_VARIANT := vcna
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H155T01_NETGEAR
+ NETGEAR_REGION := 2
+endef
+# TARGET_DEVICES += netgear-wndr3400-vcna
+
+define Device/netgear-wndr4000
+ DEVICE_MODEL := WNDR4000
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H181T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wndr4000
+
+define Device/netgear-wnr1000-v3
+ DEVICE_MODEL := WNR1000
+ DEVICE_VARIANT := v3
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H139T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wnr1000-v3
+
+define Device/netgear-wnr2000v2
+ DEVICE_MODEL := WNR2000
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H114T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wnr2000v2
+
+define Device/netgear-wnr3500l-v1-na
+ DEVICE_MODEL := WNR3500L
+ DEVICE_VARIANT := v1 (NA)
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H136T99_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wnr3500l-v1-na
+
+define Device/netgear-wnr3500l-v1
+ DEVICE_MODEL := WNR3500L
+ DEVICE_VARIANT := v1 (ROW)
+ DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H136T99_NETGEAR
+ NETGEAR_REGION := 1
+endef
+TARGET_DEVICES += netgear-wnr3500l-v1
+
+define Device/netgear-wnr3500l-v2
+ DEVICE_MODEL := WNR3500L
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H172T00_NETGEAR
+ NETGEAR_REGION := 1
+endef
+TARGET_DEVICES += netgear-wnr3500l-v2
+
+define Device/netgear-wnr3500u
+ DEVICE_MODEL := WNR3500U
+ DEVICE_PACKAGES := $(USB2_PACKAGES)
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H136T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+# TARGET_DEVICES += netgear-wnr3500u
+
+define Device/netgear-wnr3500-v2
+ DEVICE_MODEL := WNR3500
+ DEVICE_VARIANT := v2
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H127T00_NETGEAR
+ NETGEAR_REGION := 2
+endef
+TARGET_DEVICES += netgear-wnr3500-v2
+
+define Device/netgear-wnr3500-v2-vc
+ DEVICE_MODEL := WNR3500
+ DEVICE_VARIANT := v2 (VC)
+ DEVICE_PACKAGES := kmod-b43
+ $(Device/netgear)
+ NETGEAR_BOARD_ID := U12H127T70_NETGEAR
+ NETGEAR_REGION := 2
+endef
+# TARGET_DEVICES += netgear-wnr3500-v2-vc
+
+TARGET_DEVICES += standard standard-noloader-nodictionarylzma