f6dcfc926b35d259d7800920bb6501e0b199e219
[coreboot.git] / src / vendorcode / amd / cimx / sb800 / Makefile.inc
1 #\r
2 # This file is part of the coreboot project.\r
3 #\r
4 # Copyright (C) 2010 Advanced Micro Devices, Inc.\r
5 #\r
6 # This program is free software; you can redistribute it and/or modify\r
7 # it under the terms of the GNU General Public License as published by\r
8 # the Free Software Foundation; version 2 of the License.\r
9 #\r
10 # This program is distributed in the hope that it will be useful,\r
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of\r
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13 # GNU General Public License for more details.\r
14 #\r
15 # You should have received a copy of the GNU General Public License\r
16 # along with this program; if not, write to the Free Software\r
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA\r
18 #\r
19 \r
20 # CIMX Root directory\r
21 CIMX_ROOT = src/vendorcode/amd/cimx\r
22 \r
23 CIMX_INC  = -I$(src)/mainboard/$(MAINBOARDDIR)\r
24 CIMX_INC  += -I$(src)/southbridge/amd/cimx_wrapper/sb800\r
25 CIMX_INC  += -I$(CIMX_ROOT)/sb800\r
26 #TODO merge withagesa lib functions\r
27 CIMX_INC  += -I$(CIMX_ROOT)/lib\r
28 \r
29 # CIMX LIB files\r
30 romstage-y += MEMLIB.c\r
31 romstage-y += PCILIB.c\r
32 romstage-y += IOLIB.c\r
33 romstage-y += PMIOLIB.c\r
34 romstage-y += AMDLIB.c\r
35 romstage-y += SBPELIB.c\r
36 romstage-y += AMDSBLIB.c\r
37 romstage-y += SBPOR.c\r
38 romstage-y += ECLIB.c\r
39 romstage-y += EC.c\r
40 ramstage-y += DISPATCHER.c\r
41 \r
42 ramstage-y += ACPILIB.c\r
43 ramstage-y += AZALIA.c\r
44 ramstage-y += DISPATCHER.c\r
45 ramstage-y += ECfanc.c\r
46 ramstage-y += ECfanLIB.c\r
47 ramstage-y += GEC.c\r
48 ramstage-y += Gpp.c\r
49 ramstage-y += PMIO2LIB.c\r
50 ramstage-y += SATA.c\r
51 ramstage-y += SBCMN.c\r
52 ramstage-y += SBMAIN.c\r
53 ramstage-y += SBPOR.c\r
54 ramstage-y += MEMLIB.c\r
55 ramstage-y += PCILIB.c\r
56 ramstage-y += IOLIB.c\r
57 ramstage-y += PMIOLIB.c\r
58 ramstage-y += AMDLIB.c\r
59 ramstage-y += SBPELIB.c\r
60 ramstage-y += AMDSBLIB.c\r
61 ramstage-y += ECLIB.c\r
62 ramstage-y += EC.c\r
63 ramstage-y += SMM.c\r
64 ramstage-y += USB.c\r
65 #ramstage-y += LEGACY.c\r
66 #ramstage-y += SbModInf.c\r
67 \r
68 CIMX_CFLAGS =\r
69 export CIMX_ROOT\r
70 export CIMX_INC\r
71 export CIMX_CFLAGS\r
72 CC := $(CC) $(CIMX_INC)\r
73 \r
74 #######################################################################\r
75 \r