[coreboot] [PATCH]Kconfig for v2
patrick.georgi at coresystems.de
Wed Aug 5 17:21:27 CEST 2009
I think it's time to push the Kconfig branch to trunk.
As the patch is ~1MB, I won't add it to the list, it is available from
It's kconfig, a kbuild-style build system (quite similar, with a twist),
sconfig (a new tool to compile the devicetree structures that were in
the mainboard's Config.lb so far), and just enough Kconfig/Makefile
stuff to make kontron/986lcd-m and emulation/qemu-x86 work.
Everything else is stubbed or missing, and I expect that some of the
future changes will require some bigger changes and data moved between
the Kconfig files (in particular).
The patch doesn't affect abuild, except for ignoring "Kconfig" files in
the mainboard hierarchy (so it doesn't try to build
"emulation/Kconfig"), so there is no loss in functionality in the tree.
Kconfig has no support for non-CBFS boards, and that's on purpose: The
old rom layout is deprecated, and maintaining both systems would have
increased the effort.
Overview of the new files:
contains the common rules, and machinery to import the Makefile
fragments from the tree. No more generated Makefiles (except inside gnu
The various Makefile fragments
Configuration files, compatible to Linux's
The Kconfig utilities
compiles devicetree.cb files into data structures suitable for compilation
The devicetree that formerly resided in src/mainboard/*/*/Config.lb.
Just without the build system crap
support utility to find a suitable cross compiler and various GNU tools
More information about the coreboot