From 8463dd9db0dc2ce02423775d0eb62e28aa01e9f9 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 30 Sep 2010 16:55:02 +0000 Subject: Rename build system variables to be more intuitive, and at the same time let the user specify sources instead of object files: - objs becomes ramstage-srcs - initobjs becomes romstage-srcs - driver becomes driver-srcs - smmobj becomes smm-srcs The user servicable parts are named accordingly: ramstage-y, romstage-y, driver-y, smm-y Also, the object file names are properly renamed now, using .ramstage.o, .romstage.o, .driver.o, .smm.o suffixes consistently. Remove stubbed out via/epia-m700 dsdt/ssdt files - they didn't easily fit in the build system and aren't useful anyway. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5886 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/Makefile.inc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'src/console/Makefile.inc') diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc index 01d817bc9c..4a344d8a02 100644 --- a/src/console/Makefile.inc +++ b/src/console/Makefile.inc @@ -1,21 +1,21 @@ -obj-y += printk.o -obj-y += console.o -obj-y += vtxprintf.o -obj-y += vsprintf.o +ramstage-y += printk.c +ramstage-y += console.c +ramstage-y += vtxprintf.c +ramstage-y += vsprintf.c -smmobj-y += printk.o -smmobj-y += vtxprintf.o +smm-y += printk.c +smm-y += vtxprintf.c -initobj-y += vtxprintf.o -initobj-$(CONFIG_CACHE_AS_RAM) += console.o +romstage-y += vtxprintf.c +romstage-$(CONFIG_CACHE_AS_RAM) += console.c -driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.o -driver-$(CONFIG_USBDEBUG) += usbdebug_console.o -driver-$(CONFIG_CONSOLE_VGA) += vga_console.o -driver-$(CONFIG_CONSOLE_BTEXT) += btext_console.o -driver-$(CONFIG_CONSOLE_BTEXT) += font-8x16.o -driver-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.o -driver-$(CONFIG_CONSOLE_NE2K) += ne2k_console.o +driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.c +driver-$(CONFIG_USBDEBUG) += usbdebug_console.c +driver-$(CONFIG_CONSOLE_VGA) += vga_console.c +driver-$(CONFIG_CONSOLE_BTEXT) += btext_console.c +driver-$(CONFIG_CONSOLE_BTEXT) += font-8x16.c +driver-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.c +driver-$(CONFIG_CONSOLE_NE2K) += ne2k_console.c -$(obj)/console/console.o : $(obj)/build.h -$(obj)/console/console.initobj.o : $(obj)/build.h +$(obj)/console/console.ramstage.o : $(obj)/build.h +$(obj)/console/console.romstage.o : $(obj)/build.h -- cgit v1.2.3