Hi,
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 https://www.coresystems.de/~patrick/20090805-5-kconfig
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:
Makefile contains the common rules, and machinery to import the Makefile fragments from the tree. No more generated Makefiles (except inside gnu make)
*/Makefile.inc The various Makefile fragments
*/Kconfig Configuration files, compatible to Linux's
util/kconfig The Kconfig utilities
util/sconfig compiles devicetree.cb files into data structures suitable for compilation
*/devicetree.cb The devicetree that formerly resided in src/mainboard/*/*/Config.lb. Just without the build system crap
util/xcompile support utility to find a suitable cross compiler and various GNU tools
Regards, Patrick
https://www.coresystems.de/~patrick/20090811-1-kconfig is an updated patch, with some AMD support by Ron.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de
On Tuesday 11 August 2009 18:15:16 Patrick Georgi wrote:
https://www.coresystems.de/~patrick/20090811-1-kconfig is an updated patch, with some AMD support by Ron.
Fine to see your Kconfig patch. Right now I'm adding the gigabyte M57SLI target to Kconfig.
And, there are in the coreboot-v2-kconfig branch some values wrong defined in Kconfig files. I've allready fixed that warnings, and hopefully your attached patch represents the state of which I get when checking out the coreboot-v2-kconfig branch.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de
Kind Regards, Harald
Harald, there is a bit of documentation in there about usage of Kconfig and Makefile.config. It is not complete but I fill in a little each day. Please refer to it w.r.t. the use of mainboard and socket Kconfig.
What if we apply this patch and get yours in next?
ron
On Tuesday 11 August 2009 21:35:26 ron minnich wrote:
Harald, there is a bit of documentation in there about usage of Kconfig and Makefile.config. It is not complete but I fill in a little each day. Please refer to it w.r.t. the use of mainboard and socket Kconfig.
What if we apply this patch and get yours in next?
For my part I really welcome the Kconfig build system, and therefore I'd like to see it commited. My patch is right now not as far to get commited, I think it will take a few days more to get it in a fine shape.
ron
Regards, Harald
Acked-by: Ronald G. Minnich rminnich@gmail.com
Folks, please read and comment on documentation/Kconfig.tex
This is a changing document but I'm happy to get any comments even in its current form.
ron
On Tue, Aug 11, 2009 at 9:15 AM, Patrick Georgipatrick.georgi@coresystems.de wrote:
https://www.coresystems.de/~patrick/20090811-1-kconfig is an updated patch, with some AMD support by Ron.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de
tested on abuild only.
Acked-by: Ronald G. Minnich rminnich@gmail.com Committed revision 4534.