[coreboot] [PATCH] Proposal for dealing with superio *.c includes

Patrick Georgi patrick at georgi-clan.de
Sat Feb 26 21:50:51 CET 2011


Am Samstag, 26. Februar 2011, 14:17:37 schrieb Alex G.:
> 3) add a romstage-$(CONFIG_THIS_SUPERIO) += early_serial.c to the
> superio's Makefile.inc
This will fail for romcc boards, as for them, romstage must be compiled by a 
single romcc invocation.

I planned to work on this by having the build system generate a wrapper for 
romcc boards automatically  (essentially a file in $(obj) with romstage.c and 
other .c files #included, properly hidden from the dev), but that has some 
issues with the right order in which things must be included (romcc doesn't 
support forward declarations).


Patrick





More information about the coreboot mailing list