Am Samstag, 26. Februar 2011, 14:17:37 schrieb Alex G.:
3) add a romstage-$(CONFIG_THIS_SUPERIO) +=
early_serial.c to the
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).