From 8a7ccc3ff97c236f809f5b0fc067512307792570 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 19 Oct 2006 02:05:17 +0000 Subject: port more modules over to the new system git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5220 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 475fcd0de..97cfddb9e 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)) + + -- cgit v1.2.3