mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
1226113fe2
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>
73 lines
1.8 KiB
Makefile
73 lines
1.8 KiB
Makefile
#################################################
|
|
# 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
|