summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 19:16:10 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 19:16:10 +0000
commitb1be8daa27bdf75e8009c8fb2f75e1bd39570a7c (patch)
treed1153beaa5fc9699bccd862c9ab73e830088ee08 /package/kernel
parent3cd053e7cc62b3b5168e6b921c241b72151b36f3 (diff)
move kmod-nbd & kmod-loop from other.mk to block.mk, disable cryptoloop since it's not packaged anywhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8812 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/block.mk32
-rw-r--r--package/kernel/modules/other.mk30
2 files changed, 32 insertions, 30 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 2bccf0b47b..ae64fb6b74 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -136,3 +136,35 @@ define KernelPackage/scsi-core
endef
$(eval $(call KernelPackage,scsi-core))
+
+
+define KernelPackage/loop
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=Loopback device support
+ KCONFIG:= \
+ CONFIG_BLK_DEV_LOOP \
+ CONFIG_BLK_DEV_CRYPTOLOOP=n
+ FILES:=$(LINUX_DIR)/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,loop)
+endef
+
+define KernelPackage/loop/description
+ Kernel module for loopback device support
+endef
+
+$(eval $(call KernelPackage,loop))
+
+
+define KernelPackage/nbd
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=Network block device support
+ KCONFIG:=CONFIG_BLK_DEV_NBD
+ FILES:=$(LINUX_DIR)/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,nbd)
+endef
+
+define KernelPackage/nbd/description
+ Kernel module for network block device support
+endef
+
+$(eval $(call KernelPackage,nbd))
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 79af470e4c..352bfb0012 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -156,36 +156,6 @@ endef
$(eval $(call KernelPackage,soundcore))
-define KernelPackage/loop
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Loopback device support
- KCONFIG:=CONFIG_BLK_DEV_LOOP
- FILES:=$(LINUX_DIR)/drivers/block/loop.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,loop)
-endef
-
-define KernelPackage/loop/description
- Kernel module for loopback device support
-endef
-
-$(eval $(call KernelPackage,loop))
-
-
-define KernelPackage/nbd
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Network block device support
- KCONFIG:=CONFIG_BLK_DEV_NBD
- FILES:=$(LINUX_DIR)/drivers/block/nbd.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,nbd)
-endef
-
-define KernelPackage/nbd/description
- Kernel module for network block device support
-endef
-
-$(eval $(call KernelPackage,nbd))
-
-
define KernelPackage/capi
SUBMENU:=$(OTHER_MENU)
TITLE:=CAPI Support