From 90a074e6fe5e7ed662bad616f7af47d2733356ca 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 49a1b6fce1..03d8a1062e 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