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 14:56:57 +0000 (15:56 +0100)
commitb8ea9efc5871b0b00b5783817b6c913d8782315e
tree90a37af2b5adfc29e74a9fd0fe0c496ebe883046
parent735a27df814d1287ecdb0dfe46ca45c9a8246a1b
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