[coreboot] r983 - in coreboot-v3: device include/device

Vincent Legoll vincent.legoll at gmail.com
Thu Nov 6 16:49:04 CET 2008


On Thu, Nov 6, 2008 at 4:40 PM, Myles Watson <mylesgw at 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 ?

-- 
Vincent Legoll




More information about the coreboot mailing list