mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
09ee51c614
In lantiq there are several subtarget where all devices have the same value set to the SOC variable for each device individually. This patch introduces a non-device-dependent variable DEFAULT_SOC, which is used if no specific SOC is set for a device, and thus reduces the number of redundant definitions drastically. This is applied to all subtargets except xway, as only the latter has two different SOCs. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
21 lines
597 B
Makefile
21 lines
597 B
Makefile
define Device/allnet_all0333cj
|
|
DEVICE_VENDOR := Allnet
|
|
DEVICE_MODEL := ALL0333CJ
|
|
IMAGE_SIZE := 3700k
|
|
DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \
|
|
kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \
|
|
ltq-adsl-app ppp-mod-pppoe
|
|
endef
|
|
TARGET_DEVICES += allnet_all0333cj
|
|
|
|
define Device/netgear_dgn1000b
|
|
DEVICE_VENDOR := NETGEAR
|
|
DEVICE_MODEL := DGN1000B
|
|
IMAGE_SIZE := 6000k
|
|
DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \
|
|
kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \
|
|
ltq-adsl-app ppp-mod-pppoe
|
|
SUPPORTED_DEVICES += DGN1000B
|
|
endef
|
|
TARGET_DEVICES += netgear_dgn1000b
|