From 228bb84744589efa38ebddd7a75bf97de6789aeb Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Thu, 5 Mar 2020 22:57:29 +0900 Subject: 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 --- target/linux/ipq806x/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ipq806x') diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile index 42f91371c3..93a90cc026 100644 --- a/target/linux/ipq806x/Makefile +++ b/target/linux/ipq806x/Makefile @@ -19,7 +19,7 @@ KERNELNAME:=zImage Image dtbs include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += \ kmod-leds-gpio kmod-gpio-button-hotplug swconfig \ - kmod-ata-core kmod-ata-ahci kmod-ata-ahci-platform \ + kmod-ata-ahci kmod-ata-ahci-platform \ kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-usb-phy-qcom-dwc3 kmod-usb3 kmod-usb-dwc3-qcom \ kmod-ath10k-ct wpad-basic \ -- cgit v1.2.3