db5c8cb9929a3de8c57959b14d266dcdc89738ef
[coreboot.git] / src / mainboard / gigabyte / ga_2761gxdk / 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
7 ## modify it under the terms of the GNU General Public License as
8 ## published by the Free Software Foundation; version 2 of
9 ## the License.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
19 ## MA 02110-1301 USA
20 ##
21
22 driver-y +=  mainboard.o
23
24 #needed by irq_tables and mptable and acpi_tables
25 obj-y += get_bus_conf.o
26 obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
27 obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
28 obj-$(CONFIG_USE_INIT) += romstage.o
29 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
30
31 # This is part of the conversion to init-obj and away from included code. 
32 initobj-y += crt0.o
33 crt0s := $(src)/cpu/x86/16bit/entry16.inc
34 crt0s += $(src)/cpu/x86/32bit/entry32.inc
35 crt0s += $(src)/cpu/x86/16bit/reset16.inc
36 crt0s += $(src)/arch/i386/lib/id.inc
37 crt0s += $(src)/cpu/amd/car/cache_as_ram.inc
38 crt0s += $(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc
39
40 ldscripts := $(src)/arch/i386/init/ldscript_fallback_cbfs.lb
41 ldscripts += $(src)/cpu/x86/16bit/entry16.lds
42 ldscripts += $(src)/cpu/x86/16bit/reset16.lds
43 ldscripts += $(src)/arch/i386/lib/id.lds
44 ldscripts += $(src)/arch/i386/lib/failover.lds
45 ifeq ($(CONFIG_AP_CODE_IN_CAR),y)
46 ldscripts += $(src)/arch/i386/init/ldscript_apc.lb
47 endif
48