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/pc80/Makefile.inc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/pc80/Makefile.inc') diff --git a/src/pc80/Makefile.inc b/src/pc80/Makefile.inc index fe7e8e8750..01ad0dca16 100644 --- a/src/pc80/Makefile.inc +++ b/src/pc80/Makefile.inc @@ -1,11 +1,12 @@ -obj-y += mc146818rtc.o -obj-y += isa-dma.o -obj-y += i8259.o -obj-$(CONFIG_UDELAY_IO) += udelay_io.o -obj-y += keyboard.o -initobj-$(CONFIG_USE_OPTION_TABLE) += mc146818rtc_early.o -initobj-$(CONFIG_CACHE_AS_RAM) += serial.o +ramstage-y += mc146818rtc.c +ramstage-y += isa-dma.c +ramstage-y += i8259.c +ramstage-$(CONFIG_UDELAY_IO) += udelay_io.c +ramstage-y += keyboard.c + +romstage-$(CONFIG_USE_OPTION_TABLE) += mc146818rtc_early.c +romstage-$(CONFIG_CACHE_AS_RAM) += serial.c subdirs-y += vga -$(obj)/pc80/mc146818rtc.o : $(OPTION_TABLE_H) -$(obj)/pc80/mc146818rtc_early.initobj.o : $(OPTION_TABLE_H) +$(obj)/pc80/mc146818rtc.ramstage.o : $(OPTION_TABLE_H) +$(obj)/pc80/mc146818rtc_early.romstage.o : $(OPTION_TABLE_H) -- cgit v1.2.3