aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>2018-09-07 16:22:09 +0200
committerMathias Kresin <dev@kresin.me>2018-09-26 20:35:07 +0200
commitd6e39e7466b677c098446bfe0f999f7af69512e7 (patch)
tree3f95f23cd3948539ea94a7e0e0d945dc4cdfb1c4 /target/linux
parentc662299bf98b6214628168379edd642f1b942b98 (diff)
downloadupstream-d6e39e7466b677c098446bfe0f999f7af69512e7.tar.gz
upstream-d6e39e7466b677c098446bfe0f999f7af69512e7.tar.bz2
upstream-d6e39e7466b677c098446bfe0f999f7af69512e7.zip
ramips: ex2700: actually remove kmod-mt76*
When building using the multiple devices option with per-device root filesystem, only the meta package mt76 is omitted but not the dependencies selected by the package. Explicitly exclude all 3 mt76 packages, plus the metapackage. Otherwise, these modules will be included in the build, wasting a few hundred kilobytes. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> [mention the root cause of the issue in the commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/image/mt7620.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index c511a17ac1..7ce3e0a70c 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -221,7 +221,7 @@ define Device/ex2700
KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | append-uImage-fakehdr filesystem
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
netgear-dni
- DEVICE_PACKAGES := -kmod-mt76
+ DEVICE_PACKAGES := -kmod-mt76 -kmod-mt7603 -kmod-mt76x2 -kmod-mt76-core
DEVICE_TITLE := Netgear EX2700
endef
TARGET_DEVICES += ex2700