summaryrefslogtreecommitdiff
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-19 02:05:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-19 02:05:17 +0000
commitd2e30add61be46ac839eb5bb7474b78f773b7fd9 (patch)
tree690650285fd37f28616e42492f6f0d7d9e988af2 /package/kernel/modules/other.mk
parent144572780b04f9389f3f313402ee6748bf2c882f (diff)
downloadmtk-20170518-d2e30add61be46ac839eb5bb7474b78f773b7fd9.zip
mtk-20170518-d2e30add61be46ac839eb5bb7474b78f773b7fd9.tar.gz
mtk-20170518-d2e30add61be46ac839eb5bb7474b78f773b7fd9.tar.bz2
port more modules over to the new system
SVN-Revision: 5220
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk23
1 files changed, 22 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 475fcd0..97cfddb 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -1,4 +1,4 @@
-#
+#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@@ -99,3 +99,24 @@ endef
$(eval $(call KernelPackage,soundcore))
+define KernelPackage/loop
+ TITLE:=Loopback device support
+ DESCRIPTION:=Kernel module for loopback device support
+ KCONFIG:=$(CONFIG_BLK_DEV_LOOP)
+ SUBMENU:=$(EMENU)
+ AUTOLOAD:=$(call AutoLoad,30,loop)
+ FILES:=$(MODULES_DIR)/kernel/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,loop))
+
+define KernelPackage/nbd
+ TITLE:=Network block device support
+ DESCRIPTION:=Kernel module for network block device support
+ KCONFIG:=$(CONFIG_BLK_DEV_NBD)
+ SUBMENU:=$(EMENU)
+ AUTOLOAD:=$(call AutoLoad,30,nbd)
+ FILES:=$(MODULES_DIR)/kernel/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,nbd))
+
+