forked from Ivasoft/openwrt
kernel: make kmod package dependencies forward compatible
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user