On 26.09.2009 18:41, Stefan Reinauer wrote:
ron minnich wrote:
Acked-by: Ronald G. Minnich rminnich@gmail.com
would it make sense to have a Kconfig option to "build with cross toolchain"?
Good question.... How do people feel about this? It takes quite a while to build a tool chain, so we might want to check for it and ask people to install it themselfes, at least..
Maybe "Build with verified toolchain" and if that option is selected, have make search for a (cross-)gcc which has "coreboot" somewhere in its --version output and fail otherwise? That way we could make sure the cross-toolchain is indeed sane (as opposed to a semi-broken cross toolchain downloaded somewhere on the net).
At some point Patrick also had abuild and Kconfig automatically pick up the chains built by the script, but I think that might require some playing with the paths...
If that pickup could be made conditional on said Kconfig option, it would be perfect.
I'm happy with anything that increases the likelihood of a working build, so feel free to ignore what I said above.
Regards, Carl-Daniel