X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/3cd053e7cc62b3b5168e6b921c241b72151b36f3..2b8d2f49fe75edd7e5a13f2c94a130fcc0cd8a9e:/package/kernel/modules/block.mk diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 2bccf0b47..ae64fb6b7 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))