On Sat, Nov 13, 2010 at 9:21 AM, Joerg Mayer jmayer@loplof.de wrote:
Just the normal stuff that cmake and configure do: Add a check outside the file, then #define a preprocessor variable, then guard the code with that variable. If there is real interest, I'd be willing to create the necessary cmake stuff for review - it may take up to two weeks because of travel and work for me to provide a first patch.
I proposed a patch with your suggestion:
http://patchwork.coreboot.org/patch/2320/
Thanks, Alex