diff options
Diffstat (limited to 'src/pc80')
-rw-r--r-- | src/pc80/Makefile.inc | 19 | ||||
-rw-r--r-- | src/pc80/vga/Makefile.inc | 4 |
2 files changed, 12 insertions, 11 deletions
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) diff --git a/src/pc80/vga/Makefile.inc b/src/pc80/vga/Makefile.inc index f5b75c0c3f..bc68084073 100644 --- a/src/pc80/vga/Makefile.inc +++ b/src/pc80/vga/Makefile.inc @@ -1,2 +1,2 @@ -obj-y += vga_io.o -obj-$(CONFIG_VGA) += vga.o +ramstage-y += vga_io.c +ramstage-$(CONFIG_VGA) += vga.c |