Skip to content

Commit

Permalink
ramips: ex2700: actually remove kmod-mt76*
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jclehner authored and mkresin committed Sep 26, 2018
1 parent 81b2bf8 commit 3a783e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/linux/ramips/image/mt7620.mk
Expand Up @@ -211,7 +211,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
Expand Down

0 comments on commit 3a783e5

Please sign in to comment.