summaryrefslogtreecommitdiff
path: root/package/kernel/modules/i2c.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-07 08:34:51 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-07 08:34:51 +0000
commit34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a (patch)
treed03a529733bb0260835cc50a4592b3e9b3f62dde /package/kernel/modules/i2c.mk
parent3e2f44481fc0c353cc53c3a70b8a59d2ce0c6b60 (diff)
downloadmtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.zip
mtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.gz
mtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.bz2
move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
Diffstat (limited to 'package/kernel/modules/i2c.mk')
-rw-r--r--package/kernel/modules/i2c.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index f8d8d86..11d42e7 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -11,7 +11,6 @@ I2CMENU:=I2C Bus
define KernelPackage/i2c-core
SUBMENU:=$(I2CMENU)
TITLE:=I2C support
- DESCRIPTION:=Kernel modules for i2c support
DEPENDS:=@LINUX_2_6
KCONFIG:= \
CONFIG_I2C \
@@ -22,13 +21,16 @@ define KernelPackage/i2c-core
AUTOLOAD:=$(call AutoLoad,50,i2c-core i2c-dev)
endef
+define KernelPackage/i2c-core/description
+ Kernel modules for I2C support
+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
KCONFIG:= \
CONFIG_I2C_ALGOBIT \
@@ -41,13 +43,16 @@ define KernelPackage/i2c-algos
AUTOLOAD:=$(call AutoLoad,60,i2c-algo-bit i2c-algo-pcf i2c-algo-pca)
endef
+define KernelPackage/i2c-algos/description
+ Kernel modules for various I2C algorithms
+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
KCONFIG:= \
@@ -59,4 +64,8 @@ define KernelPackage/i2c-scx200
AUTOLOAD:=$(call AutoLoad,70,i2c-isa scx200_i2c)
endef
+define KernelPackage/i2c-scx200/description
+ Kernel module for SCX200 I2C bus
+endef
+
$(eval $(call KernelPackage,i2c-scx200))