aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/i2c.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-08-28 11:44:15 +0000
committerNicolas Thill <nico@openwrt.org>2007-08-28 11:44:15 +0000
commit0f4183c33b2c1fcc8637835bb8e643eea8621ae9 (patch)
treee56c4d6ee26ad19bea9adc383742eae23708cfd8 /package/kernel/modules/i2c.mk
parent4d419362c53a48ed711712aaf337901795308d81 (diff)
downloadupstream-0f4183c33b2c1fcc8637835bb8e643eea8621ae9.tar.gz
upstream-0f4183c33b2c1fcc8637835bb8e643eea8621ae9.tar.bz2
upstream-0f4183c33b2c1fcc8637835bb8e643eea8621ae9.zip
cosmetic fixes: rearrange KernelPackage definitions
SVN-Revision: 8520
Diffstat (limited to 'package/kernel/modules/i2c.mk')
-rw-r--r--package/kernel/modules/i2c.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index 441e0fff1e..00bd60e302 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -9,36 +9,42 @@
I2CMENU:=I2C Bus
define KernelPackage/i2c-core
+ SUBMENU:=$(I2CMENU)
TITLE:=I2C support
DESCRIPTION:=Kernel modules for i2c support
DEPENDS:=@LINUX_2_6
- SUBMENU:=$(I2CMENU)
KCONFIG:=CONFIG_I2C
FILES:=$(LINUX_DIR)/drivers/i2c/*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,i2c-core i2c-dev)
endef
+
$(eval $(call KernelPackage,i2c-core))
+
define KernelPackage/i2c-algos
+ SUBMENU:=$(I2CMENU)
TITLE:=I2C algorithms support
DESCRIPTION:=Kernel modules for various i2c algorithms
DEPENDS:=kmod-i2c-core
- SUBMENU:=$(I2CMENU)
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
+
$(eval $(call KernelPackage,i2c-algos))
+
define KernelPackage/i2c-scx200
+ SUBMENU:=$(I2CMENU)
TITLE:=SCX200 i2c support
DESCRIPTION:=Kernel module for SCX200 i2c bus
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
- FILES:=$(LINUX_DIR)/drivers/i2c/busses/scx200_i2c.$(LINUX_KMOD_SUFFIX) \
+ 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)
endef
+
$(eval $(call KernelPackage,i2c-scx200))