On Thu, Nov 6, 2008 at 4:40 PM, Myles Watson mylesgw@gmail.com wrote:
I doubt we want condifional compilation at all. coreboot is firmware, not an OS, and we don't want lots of variant versions. I lean toward yanking this type of conditional compilation.
I think the reason this was originally done was for size. There might be some people who are unhappy with HT, PCIe, and PCIx support compiled in for their embedded box.
Isn't all that kind of things doable via function pointers and link-time dead code elimination ? That would achieve the no ifdeffery goal, and may be cleaner code...
Am I on crack ?