Files
LithosAnanke/tools/kconfig
Claude 3bd81097e1 chore(license): an SPDX header on every source file that had none (LicenseRef-Starship-1.0) [skip ci]
The header scan (Captain Bob, 2026-11-10): 788 source files -- 351 with the
SL-1.0 header, 12 with the old name (docs/working/experiments, kept by
ruling), 31 under someone else's licence (tools/kconfig, Linux's, GPL-2.0:
kept), and 394 with none. Ruled: the SPDX form; capsules (.4th, .f18) and
proofs (.thy) left for a ruling of their own (mkcapsule's 64x16 block format,
content-addressed capsules).

253 files now begin
    SPDX-License-Identifier: LicenseRef-Starship-1.0
    Copyright (c) 2023-2026 Robert A. James
as a /* */ block (C, headers, assembly, linker scripts) or # lines (scripts,
Makefiles, Kconfig; below a shebang or a coding line); tools/mkcapsule.c,
which had the copyright line, gets the SPDX line only.

Not touched: docs/working/ (archive and old campaign material, as the
ruling kept the experiments); v4/system/post_cases.c (generated by
v4/tools/mkpost.py, "do not edit" -- the generator has the header).

Comments only: the kernel builds on amd64, aarch64, riscv64; make -C v4
test-32: 39 programs, 0 failures; every changed script parses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GE3SDvQn5EoxdGufk84zz2
2026-11-10 04:12:49 +00:00
..
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00
2026-08-01 07:49:56 -04:00

tools/kconfig — vendored Linux kernel Kconfig tooling

What this is

This directory is a trimmed vendor drop of scripts/kconfig/ from the Linux kernel (torvalds/linux, master at the time of vendoring). It provides the Kconfig language engine and three front ends:

  • conf — headless config (config/oldconfig/defconfig/etc.)
  • mconf — the ncurses menuconfig TUI (uses lxdialog/)
  • qconf — the Qt xconfig GUI

License — read this before touching anything in this directory

Every file here carries its own upstream SPDX-License-Identifier: GPL-2.0 tag. The full license text is in LICENSE in this directory.

This is host-side build tooling only. conf/mconf/qconf run on the machine building StarForth, read Kconfig/.config, and emit a generated Make-syntax config fragment (build/$(ARCH)/include/config/auto.conf). None of this code is compiled into, statically or dynamically linked into, or otherwise shipped as part of the starforth binary or the starkernel_loader.efi / kernel image — the same relationship StarForth already has with gcc, bison, flex, and make themselves. StarForth's own source is licensed under the Starship License 1.0 (see the repository root LICENSE); that license does not apply to this directory, and this directory's license does not apply to the rest of the repository.

See sbom.spdx / sbom.spdx.json for the formal SBOM entry.

What was trimmed from upstream

Kept: the core engine (parser.y, lexer.l, preprocess.c/h, symbol.c, expr.c/h, menu.c, confdata.c, lkc.h, lkc_proto.h, internal.h, util.c), conf.c, mconf.c + lxdialog/ + mconf-cfg.sh, qconf.cc + qconf.h + qconf-cfg.sh.

Dropped: gconf.c/gconf.ui (GTK gconfig — not needed), nconf.c and friends (nconfig — not needed), kconfig's own tests/ directory, and the upstream Makefile (kept alongside as Makefile.upstream-reference for comparison only — it isn't self-contained outside a full kernel source tree, since it depends on scripts/Kbuild.include and scripts/Makefile.host that aren't vendored here; this directory's real Makefile is a small bespoke one written for StarForth specifically).

Updating this vendor drop

git clone --depth 1 --filter=blob:none --sparse https://github.com/torvalds/linux.git
cd linux
git sparse-checkout set scripts/kconfig

then re-copy the files listed above.