Am Samstag, 26. Februar 2011, 14:17:37 schrieb Alex G.:
- 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