summaryrefslogtreecommitdiff
path: root/package/kernel/modules/i2c.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-18 11:31:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-18 11:31:01 +0000
commit8e4255397198574a9cd1354e194cb65bdd2051c0 (patch)
treebe8d0a838c6289a68035c8cd154d1ef44cb857bf /package/kernel/modules/i2c.mk
parent00d88f9ffc1484eb8a0761b03c3171ab47d4adbb (diff)
downloadmtk-20170518-8e4255397198574a9cd1354e194cb65bdd2051c0.zip
mtk-20170518-8e4255397198574a9cd1354e194cb65bdd2051c0.tar.gz
mtk-20170518-8e4255397198574a9cd1354e194cb65bdd2051c0.tar.bz2
dynamically enable/disable kernel config options for kmod packages based on build system config
SVN-Revision: 8026
Diffstat (limited to 'package/kernel/modules/i2c.mk')
-rw-r--r--package/kernel/modules/i2c.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index 31801a6..401a7f6 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -12,7 +12,7 @@ define KernelPackage/i2c-core
TITLE:=I2C support
DESCRIPTION:=Kernel modules for i2c support
SUBMENU:=$(I2CMENU)
- KCONFIG:=$(CONFIG_I2C)
+ KCONFIG:=CONFIG_I2C
FILES:=$(LINUX_DIR)/drivers/i2c/*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,i2c-core i2c-dev)
endef
@@ -23,7 +23,7 @@ define KernelPackage/i2c-algos
DESCRIPTION:=Kernel modules for various i2c algorithms
DEPENDS:=kmod-i2c-core
SUBMENU:=$(I2CMENU)
- KCONFIG:=$(CONFIG_I2C_ALGOBIT)
+ KCONFIG:=CONFIG_I2C_ALGOBIT
FILES:=$(LINUX_DIR)/drivers/i2c/algos/*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,i2c-algo-bit i2c-algo-pcf i2c-algo-pca)
endef
@@ -35,7 +35,7 @@ define KernelPackage/i2c-au1x00gpio
DEFAULT:=y if LINUX_2_6_AU1000
DEPENDS:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_AU1000
SUBMENU:=$(I2CMENU)
- KCONFIG:=$(CONFIG_I2C_AU1X00GPIO)
+ KCONFIG:=CONFIG_I2C_AU1X00GPIO
FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,70,i2c-au1x00gpio)
endef
@@ -47,7 +47,7 @@ define KernelPackage/i2c-scx200
DEFAULT:=y if LINUX_2_6_X86_Soekris
DEPENDS:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_X86_Soekris
SUBMENU:=$(I2CMENU)
- KCONFIG:=$(CONFIG_SCx200_I2C)
+ KCONFIG:=CONFIG_SCx200_I2C
FILES:=$(LINUX_DIR)/drivers/i2c/busses/scx200_i2c.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/i2c/busses/i2c-isa.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,i2c-isa scx200_i2c)