From: Bartosz Golaszewski <[email protected]>

This adds a new config fragment that allows building of the GPIO testing
module as a kernel feature. This is useful when enabling ptest for
libgpiod.

Signed-off-by: Bartosz Golaszewski <[email protected]>
---
 features/gpio/mockup.cfg | 3 +++
 features/gpio/mockup.scc | 5 +++++
 2 files changed, 8 insertions(+)
 create mode 100644 features/gpio/mockup.cfg
 create mode 100644 features/gpio/mockup.scc

diff --git a/features/gpio/mockup.cfg b/features/gpio/mockup.cfg
new file mode 100644
index 00000000..7242fdb4
--- /dev/null
+++ b/features/gpio/mockup.cfg
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: MIT
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_MOCKUP=m
diff --git a/features/gpio/mockup.scc b/features/gpio/mockup.scc
new file mode 100644
index 00000000..3ba86d58
--- /dev/null
+++ b/features/gpio/mockup.scc
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable support for GPIO testing module"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware mockup.cfg
-- 
2.25.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8418): 
https://lists.yoctoproject.org/g/linux-yocto/message/8418
Mute This Topic: https://lists.yoctoproject.org/mt/71673133/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to