dynamically enable/disable kernel config options for kmod packages based on build...
[openwrt/svn-archive/archive.git] / package / kernel / modules / block.mk
1 BLMENU:=Block Devices
2
3 define KernelPackage/libata
4 TITLE:=libata
5 DESCRIPTION:=libata
6 KCONFIG:=CONFIG_ATA
7 SUBMENU:=$(BLMENU)
8 FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
9 endef
10 $(eval $(call KernelPackage,libata))
11
12 define KernelPackage/ata-piix
13 TITLE:=ata-piix
14 DESCRIPTION:=Kernel module for Intel PIIX SATA controller
15 KCONFIG:=CONFIG_ATA_PIIX
16 SUBMENU:=$(BLMENU)
17 AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod ata_piix)
18 FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX)
19 DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
20 endef
21 $(eval $(call KernelPackage,ata-piix))
22
23 define KernelPackage/pata-artop
24 TITLE:=pata-artop
25 DESCRIPTION:=Kernel module for ARTOP PATA controller
26 KCONFIG:=CONFIG_PATA_ARTOP
27 SUBMENU:=$(BLMENU)
28 AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod pata_artop)
29 FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.$(LINUX_KMOD_SUFFIX)
30 DEPENDS:=+kmod-libata +kmod-scsi-core
31 endef
32 $(eval $(call KernelPackage,pata-artop))