SMM: remove hack that was needed back in oldconfig times.

These days it even does the wrong thing (not using the .smmobj.o version of
vtxprintf.c and printk.c)
Also, SMM never needed libgcc, it's only in coreboot_ram for yabel/x86emu's
crazy math.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5282 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-03-24 16:45:46 +00:00 committed by Stefan Reinauer
parent 7103eb707a
commit 5f0aefbef5
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@ obj-y += console.o
obj-y += vtxprintf.o obj-y += vtxprintf.o
obj-y += vsprintf.o obj-y += vsprintf.o
smmobj-y += printk.o
smmobj-y += vtxprintf.o
initobj-y += vtxprintf.o initobj-y += vtxprintf.o
driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.o driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.o

View File

@ -27,7 +27,7 @@ smmobj-y += smiutil.o
ifdef POST_EVALUATION ifdef POST_EVALUATION
$(obj)/cpu/x86/smm/smm.o: $(smmobjs) $(obj)/console/printk.o $(obj)/console/vtxprintf.o $(LIBGCC_FILE_NAME) $(obj)/cpu/x86/smm/smm.o: $(smmobjs)
$(CC) $(LDFLAGS) -nostdlib -r -o $@ $^ $(CC) $(LDFLAGS) -nostdlib -r -o $@ $^
$(obj)/cpu/x86/smm/smm: $(obj)/cpu/x86/smm/smm.o $(src)/cpu/x86/smm/smm.ld $(obj)/ldoptions $(obj)/cpu/x86/smm/smm: $(obj)/cpu/x86/smm/smm.o $(src)/cpu/x86/smm/smm.ld $(obj)/ldoptions