From: Zoltan HERPAI Date: Tue, 24 Oct 2023 16:40:24 +0000 (+0200) Subject: modules: block: add libraid module X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=02a684e9a2e4f55e15701de1a2567c3036cd2c57;p=openwrt%2Fstaging%2Fwigyori.git modules: block: add libraid module Signed-off-by: Zoltan HERPAI --- diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index 4f3a6e085f..3fb1ce6a31 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -443,6 +443,23 @@ endef $(eval $(call KernelPackage,libsas,1)) +define KernelPackage/libraid + SUBMENU:=$(BLOCK_MENU) + DEPENDS:=@TARGET_x86 + TITLE:=RAID Transport class + KCONFIG:=CONFIG_RAID_ATTRS + FILES:= \ + $(LINUX_DIR)/drivers/scsi/raid_class.ko + AUTOLOAD:=$(call AutoLoad,29,raid_class,1) +endef + +define KernelPackage/libraid/description + RAID Transport Attributes support +endef + +$(eval $(call KernelPackage,libraid,1)) + + define KernelPackage/loop SUBMENU:=$(BLOCK_MENU) TITLE:=Loopback device support