From 2180fa92a1158fe8f660b3a69a8f9848309ce9b6 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 7 Sep 2007 08:34:51 +0000 Subject: move package description to a separate definition, remove it when DESCRIPTION=TITLE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/block.mk | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'package/kernel/modules/block.mk') diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 5ab3688b07..d5583feeb2 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -3,13 +3,6 @@ BLMENU:=Block Devices define KernelPackage/ide-core SUBMENU:=$(BLMENU) TITLE:=Kernel support for IDE - DESCRIPTION:=\ - Useful for usb mass storage devices (e.g. on WL-HDD)\\\ - \\\ - Includes: \\\ - - ide-core \\\ - - ide-detect \\\ - - ide-disk KCONFIG:= \ CONFIG_IDE \ CONFIG_BLK_DEV_IDE \ @@ -31,6 +24,14 @@ define KernelPackage/ide-core/2.6 AUTOLOAD+=$(call AutoLoad,30,ide-generic) endef +define KernelPackage/ide-core/description + Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD) + Includes: + - ide-core + - ide-detect + - ide-disk +endef + $(eval $(call KernelPackage,ide-core)) @@ -64,8 +65,8 @@ define KernelPackage/scsi-core CONFIG_SCSI \ CONFIG_BLK_DEV_SD FILES:= \ - $(LINUX_DIR)/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX) + $(LINUX_DIR)/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,scsi_mod) $(call AutoLoad,40,sd_mod) endef @@ -87,24 +88,30 @@ $(eval $(call KernelPackage,libata)) define KernelPackage/ata-piix SUBMENU:=$(BLMENU) TITLE:=ata-piix - DESCRIPTION:=Kernel module for Intel PIIX SATA controller DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core KCONFIG:=CONFIG_ATA_PIIX FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,41,ata_piix) endef +define KernelPackage/ata-piix/description + Kernel module for Intel PIIX SATA controller +endef + $(eval $(call KernelPackage,ata-piix)) define KernelPackage/pata-artop SUBMENU:=$(BLMENU) TITLE:=pata-artop - DESCRIPTION:=Kernel module for ARTOP PATA controller DEPENDS:=+kmod-libata +kmod-scsi-core KCONFIG:=CONFIG_PATA_ARTOP FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,41,pata_artop) endef +define KernelPackage/pata-artop/description + Kernel module for ARTOP PATA controller +endef + $(eval $(call KernelPackage,pata-artop)) -- cgit v1.2.3