move package description to a separate definition, remove it when DESCRIPTION=TITLE

SVN-Revision: 8659
This commit is contained in:
Nicolas Thill
2007-09-07 08:34:51 +00:00
parent 3e2f44481f
commit 34bb4638e7
65 changed files with 1235 additions and 686 deletions

View File

@@ -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))