aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-18 16:17:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-18 16:17:19 +0000
commitf525b8b0280b63fb7c021a027b3343e003a85e18 (patch)
treea301683cead79362802b6ce4255bff1d21f7dc24 /package/kernel/modules.mk
parente85489b4d92e2548a582cab55907a6564ed64f55 (diff)
downloadupstream-f525b8b0280b63fb7c021a027b3343e003a85e18.tar.gz
upstream-f525b8b0280b63fb7c021a027b3343e003a85e18.tar.bz2
upstream-f525b8b0280b63fb7c021a027b3343e003a85e18.zip
move some of the kernel module packaging to package/kernel/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4146 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules.mk')
-rw-r--r--package/kernel/modules.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk
new file mode 100644
index 0000000000..b777c1177e
--- /dev/null
+++ b/package/kernel/modules.mk
@@ -0,0 +1,33 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id$
+
+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)
+AUTOLOAD:=$(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)
+AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
+endef
+$(eval $(call KernelPackage,ide-pdc202xx))
+