mirror of https://github.com/hak5/openwrt-owl.git
kernel: exclude regmap-spi.ko if SPI support cannot be selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38245owl
parent
3e2aa6105c
commit
e2420239ae
|
@ -634,7 +634,7 @@ define KernelPackage/regmap
|
|||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
|
||||
$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
|
||||
$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
|
||||
$(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
|
||||
AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue