Patrick Georgi | ebb43d6 | 2009-10-08 20:17:14 +0000 | [diff] [blame^] | 1 | driver-y += mainboard.o |
| 2 | |
| 3 | # Needed by irq_tables and mptable and acpi_tables. |
| 4 | obj-$(CONFIG_HAVE_PIRQ_TABLE) += irq_tables.o |
| 5 | |
| 6 | # This is part of the conversion to init-obj and away from included code. |
| 7 | |
| 8 | initobj-y += crt0.o |
| 9 | # FIXME in $(top)/Makefile |
| 10 | crt0-y += ../../../../src/cpu/x86/16bit/entry16.inc |
| 11 | crt0-y += ../../../../src/cpu/x86/32bit/entry32.inc |
| 12 | crt0-y += ../../../../src/cpu/x86/16bit/reset16.inc |
| 13 | crt0-y += ../../../../src/arch/i386/lib/id.inc |
| 14 | crt0-y += ../../../../src/cpu/amd/model_lx/cache_as_ram.inc |
| 15 | crt0-y += auto.inc |
| 16 | |
| 17 | ldscript-y += ../../../../src/arch/i386/init/ldscript_fallback_cbfs.lb |
| 18 | ldscript-y += ../../../../src/cpu/x86/16bit/entry16.lds |
| 19 | ldscript-y += ../../../../src/cpu/x86/16bit/reset16.lds |
| 20 | ldscript-y += ../../../../src/arch/i386/lib/id.lds |
| 21 | ldscript-y += ../../../../src/arch/i386/lib/failover.lds |
| 22 | |
| 23 | ifdef POST_EVALUATION |
| 24 | |
| 25 | $(obj)/mainboard/$(MAINBOARDDIR)/auto.inc: $(src)/mainboard/$(MAINBOARDDIR)/cache_as_ram_auto.c $(obj)/option_table.h |
| 26 | $(CC) $(DISTRO_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -I$(src) -I. -c -S $(src)/mainboard/$(MAINBOARDDIR)/cache_as_ram_auto.c -o $@ |
| 27 | perl -e 's/\.rodata/.rom.data/g' -pi $@ |
| 28 | perl -e 's/\.text/.section .rom.text/g' -pi $@ |
| 29 | |
| 30 | endif |
| 31 | |