Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nderjung/kconfigwalk
A simple utility for walking KConfig trees and printing them as a YAML list.
https://github.com/nderjung/kconfigwalk
Last synced: about 2 months ago
JSON representation
A simple utility for walking KConfig trees and printing them as a YAML list.
- Host: GitHub
- URL: https://github.com/nderjung/kconfigwalk
- Owner: nderjung
- License: bsd-3-clause
- Created: 2024-08-20T22:30:34.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T12:03:35.000Z (4 months ago)
- Last Synced: 2024-09-14T04:37:49.015Z (3 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# `kconfigwalk`
A simple utility for walking KConfig trees and printing them as a YAML list.
## Build
Prerequisites:
- Go (>= 1.22)
- GNU MakeThen:
```bash
make
```## Usage
```txt
Usage: kconfigwalk [flags]Arguments:
Path to root KConfig fileFlags:
-h, --help Show context-sensitive help.
-v, --vars=VARS,... KConfig variables used when evaluating
```## Examples
```bash
# Linux
kconfigwalk \
-v RUSTC="rustc" \
-v BINDGEN="bindgen" \
-v SRCARCH="x86" \
path/to/torvalds/linux/Kconfig
```
```bash
# 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`.