2
0
forked from Ivasoft/openwrt

kernel: make kmod package dependencies forward compatible

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2017-01-22 11:40:17 +01:00
parent 0519bafbda
commit 28af0f2fbd
4 changed files with 5 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ define KernelPackage/hwmon-ina2xx
KCONFIG:=CONFIG_SENSORS_INA2XX
FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
AUTOLOAD:=$(call AutoProbe,ina2xx)
$(call AddDepends/hwmon,+kmod-i2c-core +LINUX_4_4:kmod-regmap)
$(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_3_18:kmod-regmap)
endef
define KernelPackage/hwmon-ina2xx/description