980 B
980 B
mk/
Kconfig.mk— shared Kconfig bridge included by bothMakefileandMakefile.starkernel. Each Makefile canonicalizes its ownARCHand setsKCONFIG_ARCH_DIRbefore including this file, since the hosted and kernel builds mapaarch64to different object-directory names. Config lives per-architecture underbuild/$(KCONFIG_ARCH_DIR)/rather than a single root.config, because this project's QEMU acceptance workflow builds all three kernel architectures back-to-back in one script — a shared root.configwould desync from whichever arch is actually being built. Provides thekconfig_bool/kconfig_intmacros that let each-Dknob repoint from a bare historical default to the Kconfig-fedCONFIG_*value one knob family at a time, preserving today's behavior exactly whenever no.configis present yet.
See configs/ for example defconfig files and tools/kconfig/ for the
vendored Kconfig tooling this bridge drives.