summaryrefslogtreecommitdiff
path: root/openwrt/include/modules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-26 01:55:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-26 01:55:47 +0000
commitb33647bf27f5b28c83398e96ad213c24302f5fd8 (patch)
treecd2bd0dc8ada844cf5e729b6bc7df61833d48f5a /openwrt/include/modules.mk
parent152909a65fdf2387cddfaf82e72e0c3b53dda621 (diff)
downloadmtk-20170518-b33647bf27f5b28c83398e96ad213c24302f5fd8.zip
mtk-20170518-b33647bf27f5b28c83398e96ad213c24302f5fd8.tar.gz
mtk-20170518-b33647bf27f5b28c83398e96ad213c24302f5fd8.tar.bz2
add support for new modules.mk format (no autogenerated Config.in yet)
SVN-Revision: 4083
Diffstat (limited to 'openwrt/include/modules.mk')
-rw-r--r--openwrt/include/modules.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/openwrt/include/modules.mk b/openwrt/include/modules.mk
new file mode 100644
index 0000000..026c4a6
--- /dev/null
+++ b/openwrt/include/modules.mk
@@ -0,0 +1,27 @@
+include $(TOPDIR)/include/kernel.mk
+
+define KernelPackage/ide-core
+TITLE:=Kernel support for IDE
+DESCRIPTION:=Kernel modules for IDE support\\\
+ useful for usb mass storage devices (e.g. on WL-HDD)\\\
+ \\\
+ Includes: \\\
+ - ide-core \\\
+ - ide-detect \\\
+ - ide-disk \\\
+ - pdc202xx_old
+KCONFIG:=CONFIG_IDE
+FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX)
+MODULES:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk)
+endef
+$(eval $(call KernelPackage,ide-core))
+
+define KernelPackage/ide-pdc202xx
+TITLE:=PDC202xx IDE driver
+DESCRIPTION:=PDC202xx IDE driver
+KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
+FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
+MODULES:=$(call AutoLoad,30,pdc202xx_old)
+endef
+$(eval $(call KernelPackage,ide-pdc202xx))
+