mt76: split kmod package
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Sun, 19 Feb 2017 12:13:15 +0000 (13:13 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 23 Feb 2017 16:34:14 +0000 (17:34 +0100)
commit0a3088cb4b21458dff1b5c1837ce635ec4154b5a
treec95af92ef139344ed084c0a9e64f5f4996471de7
parent39d03d99594db558f23eb906bd06c7ec0cd648bb
mt76: split kmod package

This patch splits `kmod-mt76` into three separate packages:
`kmod-mt76-core`, `kmod-mt76x2` and `kmod-mt7603`. By making
`kmod-mt76` a metapackage containing these new packages,
the previous behaviour of including all drivers and firmware
is left unchanged, unless explicitly unselected in
`DEVICE_PACKAGES`.

This splitting is especially beneficial for devices with
small flash chips, since the `kmod-mt76` package currently
requires ~160K on squashfs (after compression).

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
package/kernel/mt76/Makefile