Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kconfig-tools

Kconfig parser, .config reader/writer, and autoconf.h generator, plus an interactive menuconfig TUI. Written in Zig, targeting Linux.

Tools

  • genconfig — reads Kconfig + .config and emits include/generated/autoconf.h.
  • defconfig — applies a defconfig file, then writes .config and autoconf.h.
  • menuconfig — interactive terminal UI for editing the configuration.

All three accept --kconfig FILE, --config FILE, and --header FILE to override the default paths (Kconfig, .config, include/generated/autoconf.h).

Building

Requires Zig 0.16 or newer.

zig build

Binaries are written to zig-out/bin/.

menuconfig keys

  • Up/Down or k/j — navigate
  • Enter/Space — toggle, edit, or enter a submenu/choice
  • Right or Enter on a menu — enter submenu
  • Left/Esc — go back
  • S — mark for save, Q — save and quit, X — quit without saving

License

Unlicense — see LICENSE.

About

Kconfig parser, .config reader/writer, and autoconf.h generator, plus an interactive menuconfig TUI.

Topics

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages