openwrt/target/linux/bcm47xx/image/legacy.mk
Adrian Schmutzler 1226113fe2 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>
2020-06-12 19:01:47 +02:00

293 lines
6.9 KiB
Makefile

#################################################
# 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