kernel: make kmod-ata-core selected by dependent modules
authorSungbo Eo <mans0n@gorani.run>
Thu, 5 Mar 2020 13:57:29 +0000 (22:57 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 11 Mar 2020 18:40:03 +0000 (19:40 +0100)
commit228bb84744589efa38ebddd7a75bf97de6789aeb
tree0b9ed1ececdc0dda9b3c72885897b23cf6332b4f
parent95c1fce821c37d5afcd84df92b58c5ae184f8bcd
kernel: make kmod-ata-core selected by dependent modules

Currently kmod-ata-* will not get into images unless kmod-ata-core is added to
DEVICE_PACKAGES as well. By changing the dependencies from "depends on" to
"select", we do not have the issue anymore.

Furthermore, we can remove most occurrences of the package from DEVICE_PACKAGES
and similar variables, as it is now pulled by dependent modules such as:
- kmod-ata-ahci
- kmod-ata-ahci-mtk
- kmod-ata-sunxi

While at it, use AddDepends/ata for kmod-ata-pdc202xx-old.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
package/kernel/linux/modules/block.mk
target/linux/ipq806x/Makefile
target/linux/mediatek/image/mt7622.mk
target/linux/ramips/image/mt7621.mk
target/linux/sunxi/image/cortex-a7.mk
target/linux/sunxi/image/cortex-a8.mk
target/linux/sunxi/profiles/00-default.mk