The ptests from util-linux require the scsi debug module to be installed
for a subset of tests. This patch would allow to build the kernel module
for the linux-yocto kernel.

Signed-off-by: Mariano López <just.another.mari...@gmail.com>
---
 features/scsi/scsi-debug.cfg | 1 +
 features/scsi/scsi-debug.scc | 4 ++++
 2 files changed, 5 insertions(+)
 create mode 100644 features/scsi/scsi-debug.cfg
 create mode 100644 features/scsi/scsi-debug.scc

diff --git a/features/scsi/scsi-debug.cfg b/features/scsi/scsi-debug.cfg
new file mode 100644
index 00000000..86b32849
--- /dev/null
+++ b/features/scsi/scsi-debug.cfg
@@ -0,0 +1 @@
+CONFIG_SCSI_DEBUG=m
diff --git a/features/scsi/scsi-debug.scc b/features/scsi/scsi-debug.scc
new file mode 100644
index 00000000..4fbe8dd8
--- /dev/null
+++ b/features/scsi/scsi-debug.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable options for SCSI debug support"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware scsi-debug.cfg
-- 
2.21.0

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to