diff options
author | Sungbo Eo <mans0n@gorani.run> | 2020-03-05 22:57:29 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-11 19:40:03 +0100 |
commit | 228bb84744589efa38ebddd7a75bf97de6789aeb (patch) | |
tree | 0b9ed1ececdc0dda9b3c72885897b23cf6332b4f /target/linux/sunxi | |
parent | 95c1fce821c37d5afcd84df92b58c5ae184f8bcd (diff) | |
download | upstream-228bb84744589efa38ebddd7a75bf97de6789aeb.tar.gz upstream-228bb84744589efa38ebddd7a75bf97de6789aeb.tar.bz2 upstream-228bb84744589efa38ebddd7a75bf97de6789aeb.zip |
kernel: make kmod-ata-core selected by dependent modulesupstreamless-old-master
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>
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r-- | target/linux/sunxi/image/cortex-a7.mk | 22 | ||||
-rw-r--r-- | target/linux/sunxi/image/cortex-a8.mk | 4 | ||||
-rw-r--r-- | target/linux/sunxi/profiles/00-default.mk | 1 |
3 files changed, 13 insertions, 14 deletions
diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk index cc67f4dd62..8fa648176f 100644 --- a/target/linux/sunxi/image/cortex-a7.mk +++ b/target/linux/sunxi/image/cortex-a7.mk @@ -9,7 +9,7 @@ define Device/cubietech_cubieboard2 DEVICE_VENDOR := Cubietech DEVICE_MODEL := Cubieboard2 - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi SOC := sun7i-a20 endef TARGET_DEVICES += cubietech_cubieboard2 @@ -17,7 +17,7 @@ TARGET_DEVICES += cubietech_cubieboard2 define Device/cubietech_cubietruck DEVICE_VENDOR := Cubietech DEVICE_MODEL := Cubietruck - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac SOC := sun7i-a20 endef TARGET_DEVICES += cubietech_cubietruck @@ -58,7 +58,7 @@ TARGET_DEVICES += lamobo_lamobo-r1 define Device/lemaker_bananapi DEVICE_VENDOR := LeMaker DEVICE_MODEL := Banana Pi - DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi + DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi SOC := sun7i-a20 endef TARGET_DEVICES += lemaker_bananapi @@ -66,7 +66,7 @@ TARGET_DEVICES += lemaker_bananapi define Device/lemaker_bananapi-m2-ultra DEVICE_VENDOR := LeMaker DEVICE_MODEL := Banana Pi M2 Ultra - DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi + DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi SOC := sun8i-r40 endef TARGET_DEVICES += lemaker_bananapi-m2-ultra @@ -74,7 +74,7 @@ TARGET_DEVICES += lemaker_bananapi-m2-ultra define Device/lemaker_bananapro DEVICE_VENDOR := LeMaker DEVICE_MODEL := Banana Pro - DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi kmod-brcmfmac + DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac SOC := sun7i-a20 endef TARGET_DEVICES += lemaker_bananapro @@ -82,8 +82,8 @@ TARGET_DEVICES += lemaker_bananapro define Device/linksprite_pcduino3 DEVICE_VENDOR := LinkSprite DEVICE_MODEL := pcDuino3 - DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi \ - kmod-rtl8xxxu rtl8188eu-firmware + DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \ + rtl8188eu-firmware SOC := sun7i-a20 endef TARGET_DEVICES += linksprite_pcduino3 @@ -99,7 +99,7 @@ TARGET_DEVICES += mele_m9 define Device/olimex_a20-olinuxino-lime DEVICE_VENDOR := Olimex DEVICE_MODEL := A20-OLinuXino-LIME - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi SOC := sun7i endef TARGET_DEVICES += olimex_a20-olinuxino-lime @@ -107,7 +107,7 @@ TARGET_DEVICES += olimex_a20-olinuxino-lime define Device/olimex_a20-olinuxino-lime2 DEVICE_VENDOR := Olimex DEVICE_MODEL := A20-OLinuXino-LIME2 - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid SOC := sun7i endef TARGET_DEVICES += olimex_a20-olinuxino-lime2 @@ -116,7 +116,7 @@ define Device/olimex_a20-olinuxino-lime2-emmc DEVICE_VENDOR := Olimex DEVICE_MODEL := A20-OLinuXino-LIME2 DEVICE_VARIANT := eMMC - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid SOC := sun7i endef TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc @@ -124,7 +124,7 @@ TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc define Device/olimex_a20-olinuxino-micro DEVICE_VENDOR := Olimex DEVICE_MODEL := A20-OLinuXino-MICRO - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi SOC := sun7i endef TARGET_DEVICES += olimex_a20-olinuxino-micro diff --git a/target/linux/sunxi/image/cortex-a8.mk b/target/linux/sunxi/image/cortex-a8.mk index de10d5d6cc..643b3d4b1e 100644 --- a/target/linux/sunxi/image/cortex-a8.mk +++ b/target/linux/sunxi/image/cortex-a8.mk @@ -9,7 +9,7 @@ define Device/cubietech_a10-cubieboard DEVICE_VENDOR := Cubietech DEVICE_MODEL := Cubieboard - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi SOC := sun4i endef TARGET_DEVICES += cubietech_a10-cubieboard @@ -34,7 +34,7 @@ TARGET_DEVICES += marsboard_a10-marsboard define Device/olimex_a10-olinuxino-lime DEVICE_VENDOR := Olimex DEVICE_MODEL := A10-OLinuXino-LIME - DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi + DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi SOC := sun4i endef TARGET_DEVICES += olimex_a10-olinuxino-lime diff --git a/target/linux/sunxi/profiles/00-default.mk b/target/linux/sunxi/profiles/00-default.mk index 101769cf7b..cecdd0b837 100644 --- a/target/linux/sunxi/profiles/00-default.mk +++ b/target/linux/sunxi/profiles/00-default.mk @@ -8,7 +8,6 @@ define Profile/Default NAME:=Default Profile (all drivers) PACKAGES:= \ - kmod-ata-core \ kmod-ata-sunxi \ kmod-brcmfmac \ kmod-rtc-sunxi \ |