* fix iasl output directory for i945 boards (patch for moving it to the mainboard directory will follow) * coreboot_table.c: lb_mainboard can be static * coreboot_table.c: dump memory table in debug and spew mode * fix a warning in bootblock.c * don't include arch/i386/init in arch/i386/Makefile.inc * announce generation of crt0_includes.h * allow overriding $(obj) * drop unused src_types from Makefile * correctly use hostname -s instead of hostname for COMPILE_HOST Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5065 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
driver-y += mainboard.o
|
|
|
|
# Needed by irq_tables and mptable and acpi_tables.
|
|
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
|
|
|
|
# This is part of the conversion to init-obj and away from included code.
|
|
|
|
initobj-y += crt0.o
|
|
# FIXME in $(top)/Makefile
|
|
crt0s := $(src)/cpu/x86/16bit/entry16.inc
|
|
crt0s += $(src)/cpu/x86/32bit/entry32.inc
|
|
crt0s += $(src)/cpu/x86/16bit/reset16.inc
|
|
crt0s += $(src)/arch/i386/lib/id.inc
|
|
crt0s += $(src)/cpu/amd/model_lx/cache_as_ram.inc
|
|
crt0s += $(obj)/mainboard/$(MAINBOARDDIR)/auto.inc
|
|
|
|
ldscripts := $(src)/arch/i386/init/ldscript_fallback_cbfs.lb
|
|
ldscripts += $(src)/cpu/x86/16bit/entry16.lds
|
|
ldscripts += $(src)/cpu/x86/16bit/reset16.lds
|
|
ldscripts += $(src)/arch/i386/lib/id.lds
|
|
ldscripts += $(src)/arch/i386/lib/failover.lds
|
|
|
|
ifdef POST_EVALUATION
|
|
|
|
$(obj)/mainboard/$(MAINBOARDDIR)/auto.inc: $(src)/mainboard/$(MAINBOARDDIR)/cache_as_ram_auto.c
|
|
$(CC) $(DISTRO_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -I$(src) -I. -c -S $(src)/mainboard/$(MAINBOARDDIR)/cache_as_ram_auto.c -o $@
|
|
perl -e 's/\.rodata/.rom.data/g' -pi $@
|
|
perl -e 's/\.text/.section .rom.text/g' -pi $@
|
|
|
|
endif
|
|
|