projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2aa61
)
kernel: exclude regmap-spi.ko if SPI support cannot be selected
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 27 Sep 2013 21:12:15 +0000
(21:12 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 27 Sep 2013 21:12:15 +0000
(21:12 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38245
package/kernel/linux/modules/other.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/other.mk
b/package/kernel/linux/modules/other.mk
index b3e268e79cf93453c7024c0f340f9cfb19db7741..bd8b357309b13367c9ff7474d445c063f7ff2b30 100644
(file)
--- a/
package/kernel/linux/modules/other.mk
+++ b/
package/kernel/linux/modules/other.mk
@@
-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