aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
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 475fcd0def..97cfddb9e6 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))
+
+