Changeset 38245


Ignore:
Timestamp:
2013-09-27T23:12:15+02:00 (4 years ago)
Author:
nbd
Message:

kernel: exclude regmap-spi.ko if SPI support cannot be selected

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/linux/modules/other.mk

    r38238 r38245  
    635635        $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \ 
    636636        $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \ 
    637         $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko 
     637        $(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko) 
    638638  AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi) 
    639639endef 
Note: See TracChangeset for help on using the changeset viewer.