aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/target.mk
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-07 11:56:43 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-07 12:02:19 +0200
commit121c021989929c33036cc75ab9a8363200e8da0c (patch)
tree4387de03e94042746a70f00bb2de888514870aa6 /target/linux/ramips/mt7621/target.mk
parent24f7ae814a858f9fbb4cac659b90e395f9734893 (diff)
downloadupstream-121c021989929c33036cc75ab9a8363200e8da0c.tar.gz
upstream-121c021989929c33036cc75ab9a8363200e8da0c.tar.bz2
upstream-121c021989929c33036cc75ab9a8363200e8da0c.zip
ramips: invert wpad selection for mt7621
For ramips/mt7621, the wpad-basic package is not selected by default, but added for every device individually as needed. While this might be technically correct if the SoC does not come with a Wifi module, only 18 of 97 devices for that platform are set up _without_ wpad-basic currently. Therefore, it seems more convenient to add wpad-basic by default for the subtarget and then just remove it for the 18 mentioned devices, instead of having to add it for about 60 times instead. This would also match the behavior of the 5 other subtargets, where wpad-basic/wpad-mini is added by default as well, and thus be more obvious to developers without detailed SoC knowledge. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7621/target.mk')
-rw-r--r--target/linux/ramips/mt7621/target.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk
index c2eba1d0da..be7c9b604a 100644
--- a/target/linux/ramips/mt7621/target.mk
+++ b/target/linux/ramips/mt7621/target.mk
@@ -7,6 +7,8 @@ BOARDNAME:=MT7621 based boards
FEATURES+=nand ramdisk rtc usb minor
CPU_TYPE:=24kc
+DEFAULT_PACKAGES += wpad-basic
+
define Target/Description
Build firmware images for Ralink MT7621 based boards.
endef