[coreboot] [commit] r5282 - in trunk/src: console cpu/x86/smm

repository service svn at coreboot.org
Wed Mar 24 17:45:47 CET 2010


Author: stepan
Date: Wed Mar 24 17:45:46 2010
New Revision: 5282
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5282

Log:
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 at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>

Modified:
   trunk/src/console/Makefile.inc
   trunk/src/cpu/x86/smm/Makefile.inc

Modified: trunk/src/console/Makefile.inc
==============================================================================
--- trunk/src/console/Makefile.inc	Wed Mar 24 17:18:06 2010	(r5281)
+++ trunk/src/console/Makefile.inc	Wed Mar 24 17:45:46 2010	(r5282)
@@ -3,6 +3,9 @@
 obj-y += vtxprintf.o
 obj-y += vsprintf.o
 
+smmobj-y += printk.o
+smmobj-y += vtxprintf.o
+
 initobj-y += vtxprintf.o
 
 driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.o

Modified: trunk/src/cpu/x86/smm/Makefile.inc
==============================================================================
--- trunk/src/cpu/x86/smm/Makefile.inc	Wed Mar 24 17:18:06 2010	(r5281)
+++ trunk/src/cpu/x86/smm/Makefile.inc	Wed Mar 24 17:45:46 2010	(r5282)
@@ -27,7 +27,7 @@
 
 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 $@ $^
 
 $(obj)/cpu/x86/smm/smm: $(obj)/cpu/x86/smm/smm.o $(src)/cpu/x86/smm/smm.ld $(obj)/ldoptions




More information about the coreboot mailing list