kconfigwalk

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL