diff mbox series

[RFC,3/6] kconfig-fragments: add docs and fragments folder

Message ID 20250328-kconfig-env-with-ansible-v1-3-3231c0272457@samsung.com (mailing list archive)
State New
Headers show
Series Generate Kconfig environment in Ansible | expand

Commit Message

Daniel Gomez March 28, 2025, 8:56 p.m. UTC
From: Daniel Gomez <da.gomez@samsung.com>

Add configs/ directory to hold kdevops fragments.
Add docs/kconfig-fragments explaining the fragment workflow.

Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
---
 configs/callback-debug.config |  2 ++
 configs/callback-dense.config |  2 ++
 docs/kconfig-fragments.md     | 19 +++++++++++++++++++
 3 files changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/configs/callback-debug.config b/configs/callback-debug.config
new file mode 100644
index 0000000000000000000000000000000000000000..880da5fcb4ec60a7ee04490f21ea2a7efa240926
--- /dev/null
+++ b/configs/callback-debug.config
@@ -0,0 +1,2 @@ 
+CONFIG_ANSIBLE_CFG_CALLBACK_PLUGIN_DENSE=n
+CONFIG_ANSIBLE_CFG_CALLBACK_PLUGIN_DEBUG=y
diff --git a/configs/callback-dense.config b/configs/callback-dense.config
new file mode 100644
index 0000000000000000000000000000000000000000..c59925c4bd30634633be322c9e3b24bb91d2d25b
--- /dev/null
+++ b/configs/callback-dense.config
@@ -0,0 +1,2 @@ 
+CONFIG_ANSIBLE_CFG_CALLBACK_PLUGIN_DENSE=y
+CONFIG_ANSIBLE_CFG_CALLBACK_PLUGIN_DEBUG=n
diff --git a/docs/kconfig-fragments.md b/docs/kconfig-fragments.md
new file mode 100644
index 0000000000000000000000000000000000000000..969a7289b8be10fbb9eb2fb96d3a28be7b5db39d
--- /dev/null
+++ b/docs/kconfig-fragments.md
@@ -0,0 +1,19 @@ 
+# Kconfig Fragments
+
+kdevops fragments are supported and can be used with the `scripts/kconfig/merge_config.sh` script.
+
+Workflow:
+
+```sh
+./scripts/kconfig/merge_config.sh \
+-m <INITCONF> \
+<FRAGMENT_LIST>
+```
+
+Example:
+
+```sh
+./scripts/kconfig/merge_config.sh \
+-m .config \
+callback-dense.config
+```