Skip to content

nderjung/kconfigwalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kconfigwalk

A simple utility for walking KConfig trees and printing them as a YAML list.

Build

Prerequisites:

  • Go (>= 1.22)
  • GNU Make

Then:

make

Usage

Usage: kconfigwalk <PATH> [flags]

Arguments:
  <PATH>    Path to root KConfig file

Flags:
  -h, --help             Show context-sensitive help.
  -v, --vars=VARS,...    KConfig variables used when evaluating

Examples

# Linux
kconfigwalk \
  -v RUSTC="rustc" \
  -v BINDGEN="bindgen" \
  -v SRCARCH="x86" \
  path/to/torvalds/linux/Kconfig
# Unikraft
kconfigwalk \
  -v UK_BASE=. \
  -v KCONFIG_DIR="build/kconfig" \
  -v KCONFIG_PLAT_BASE="./plat" \
  -v KCONFIG_EPLAT_DIRS="" \
  -v KCONFIG_EXCLUDEDIRS="" \
  path/to/unikraft/unikraft/Kconfig

License

Licensed under BSD-3-Clause. See LICENSE.md.

About

A simple utility for walking KConfig trees and printing them as a YAML list.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors