Unify crt0s setup to src/arch/i386/Makefile.inc. This variable
[coreboot.git] / src / mainboard / gigabyte / m57sli / Makefile.inc
1 ##
2 ## This file is part of the coreboot project.
3 ## 
4 ## Copyright (C) 2007-2008 coresystems GmbH
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; version 2 of the License.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 ##
19
20 obj-y +=  mainboard.o
21
22 #needed by irq_tables and mptable and acpi_tables
23 obj-y += get_bus_conf.o
24 obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
25 obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
26 obj-$(CONFIG_USE_INIT) += romstage.o
27 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
28 obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  dsdt.o
29 obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  acpi_tables.o
30 obj-$(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL) += fanctl.o
31
32 # This is part of the conversion to init-obj and away from included code. 
33 initobj-y += crt0.o
34
35 ldscripts := $(src)/arch/i386/init/ldscript_fallback_cbfs.lb
36 ldscripts += $(src)/cpu/x86/16bit/entry16.lds
37 ldscripts += $(src)/cpu/x86/16bit/reset16.lds
38 ldscripts += $(src)/arch/i386/lib/id.lds
39 ldscripts += $(src)/southbridge/nvidia/mcp55/romstrap.lds
40 ldscripts += $(src)/arch/i386/lib/failover.lds
41 ifeq ($(CONFIG_AP_CODE_IN_CAR),y)
42 ldscripts += $(src)/arch/i386/init/ldscript_apc.lb
43 endif
44