[PATCH v1 0/4] introduce xen/scripts/config

dmukhin@xen.org posted 4 patches 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20260116043458.730728-1-dmukhin@ford.com
automation/scripts/build |   2 +-
xen/scripts/config       | 225 +++++++++++++++++++++++++++++++++++++++
2 files changed, 226 insertions(+), 1 deletion(-)
create mode 100755 xen/scripts/config
[PATCH v1 0/4] introduce xen/scripts/config
Posted by dmukhin@xen.org 1 week, 3 days ago
There is currently no in-tree tool to manipulate Kconfig settings in a
non-interactive way similar to the Linux scripts/config utility [1].
Such tooling is useful when building Xen via external build systems (e.g.,
Yocto) and can also simplify custom CI configuration.

This series imports the Linux scripts/config helper and integrates it
into an existing Xen automation script.

Example of usage:

  ./xen/scripts/config --file xen/.config -y FOO -n BAR -y BAZ

Patch 1 imports scripts/config from Linux (based on v6.19-rc5) [1].
Patch 2 drops the -m option, since Xen does not support modules.
Patch 3 adds convenience flags -y (set to yes) and -n (set to no).
Patch 4 performs minimal integration into existing Xen build system.

[1] https://github.com/torvalds/linux/blob/master/scripts/config
[2] https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/2266369021

Denis Mukhin (4):
  scripts/config: import Kconfig manipulation tool from Linux
  scripts/config: drop modules support
  scripts/config: add -y|-n flags
  scripts/config: hook to automation build script

 automation/scripts/build |   2 +-
 xen/scripts/config       | 225 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 226 insertions(+), 1 deletion(-)
 create mode 100755 xen/scripts/config

-- 
2.52.0