diff options
author | Sungbo Eo <mans0n@gorani.run> | 2020-03-05 23:42:18 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-13 15:40:43 +0100 |
commit | 4caaa778f709a38c08a11d98dd7fb03fe257f8fe (patch) | |
tree | 9e7858ea623824c7c2d5c2782d655488c5b2c7da /target/linux/ramips/image | |
parent | 4159054fbbf8a7176eaf3dd4467c5b0db70769d0 (diff) | |
download | upstream-4caaa778f709a38c08a11d98dd7fb03fe257f8fe.tar.gz upstream-4caaa778f709a38c08a11d98dd7fb03fe257f8fe.tar.bz2 upstream-4caaa778f709a38c08a11d98dd7fb03fe257f8fe.zip |
kernel: make kmod-i2c-core selected by dependent modules
Currently kmod-i2c-* will not get into images unless kmod-i2c-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-hwmon-lm75
- kmod-i2c-gpio
- kmod-i2c-gpio-custom
- kmod-i2c-mux
- kmod-i2c-ralink
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[do not touch ar71xx]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r-- | target/linux/ramips/image/rt305x.mk | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk index f63891ac7c..155e86e3d3 100644 --- a/target/linux/ramips/image/rt305x.mk +++ b/target/linux/ramips/image/rt305x.mk @@ -111,7 +111,7 @@ define Device/allnet_all5002 DEVICE_VENDOR := Allnet DEVICE_MODEL := ALL5002 DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ - kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x + kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x SUPPORTED_DEVICES += all5002 endef TARGET_DEVICES += allnet_all5002 @@ -122,7 +122,7 @@ define Device/allnet_all5003 DEVICE_VENDOR := Allnet DEVICE_MODEL := ALL5003 DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ - kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x + kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x SUPPORTED_DEVICES += all5003 endef TARGET_DEVICES += allnet_all5003 @@ -184,7 +184,7 @@ define Device/asiarf_awm002-evb-4m DEVICE_VENDOR := AsiaRF DEVICE_MODEL := AWM002-EVB DEVICE_VARIANT := 4M - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-gpio + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-gpio SUPPORTED_DEVICES += awm002-evb-4M endef TARGET_DEVICES += asiarf_awm002-evb-4m @@ -195,7 +195,7 @@ define Device/asiarf_awm002-evb-8m DEVICE_VENDOR := AsiaRF DEVICE_MODEL := AWM002-EVB/AWM003-EVB DEVICE_VARIANT := 8M - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-gpio + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-gpio SUPPORTED_DEVICES += awm002-evb-8M endef TARGET_DEVICES += asiarf_awm002-evb-8m @@ -727,7 +727,7 @@ define Device/nixcore_x1-16m DEVICE_VENDOR := Nixcore DEVICE_MODEL := X1 DEVICE_VARIANT := 16M - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink \ + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-ralink \ kmod-spi-dev SUPPORTED_DEVICES += nixcore-x1 nixcore-x1-16M endef @@ -739,7 +739,7 @@ define Device/nixcore_x1-8m DEVICE_VENDOR := Nixcore DEVICE_MODEL := X1 DEVICE_VARIANT := 8M - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink \ + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-ralink \ kmod-spi-dev SUPPORTED_DEVICES += nixcore-x1 nixcore-x1-8M endef @@ -750,7 +750,7 @@ define Device/olimex_rt5350f-olinuxino IMAGE_SIZE := 7872k DEVICE_VENDOR := OLIMEX DEVICE_MODEL := RT5350F-OLinuXino - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink \ + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-ralink \ kmod-spi-dev SUPPORTED_DEVICES += rt5350f-olinuxino endef @@ -761,7 +761,7 @@ define Device/olimex_rt5350f-olinuxino-evb IMAGE_SIZE := 7872k DEVICE_VENDOR := OLIMEX DEVICE_MODEL := RT5350F-OLinuXino-EVB - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink \ + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-ralink \ kmod-spi-dev SUPPORTED_DEVICES += rt5350f-olinuxino-evb endef @@ -1100,7 +1100,7 @@ define Device/vocore_vocore-16m DEVICE_VENDOR := VoCore DEVICE_MODEL := VoCore DEVICE_VARIANT := 16M - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink \ + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-ralink \ kmod-spi-dev SUPPORTED_DEVICES += vocore vocore-16M endef @@ -1112,7 +1112,7 @@ define Device/vocore_vocore-8m DEVICE_VENDOR := VoCore DEVICE_MODEL := VoCore DEVICE_VARIANT := 8M - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink \ + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-i2c-ralink \ kmod-spi-dev SUPPORTED_DEVICES += vocore vocore-8M endef |