From 02a684e9a2e4f55e15701de1a2567c3036cd2c57 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Tue, 24 Oct 2023 18:40:24 +0200 Subject: [PATCH] modules: block: add libraid module Signed-off-by: Zoltan HERPAI --- package/kernel/linux/modules/block.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- 2.30.2