summaryrefslogtreecommitdiff
path: root/src/mainboard/advansus/a785e-i/Makefile.inc
blob: d69a9bf869374e61220bd4207078e9ddb72decf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#romstage-y += reset.c #FIXME romstage have include test_rest.c

ramstage-y += reset.c

#SB800 CIMx share AGESA V5 lib code
ifneq ($(CONFIG_CPU_AMD_AGESA),y)
 AGESA_ROOT ?= src/vendorcode/amd/agesa/f14
 romstage-y += ../../../../$(AGESA_ROOT)/Lib/amdlib.c
 ramstage-y += ../../../../$(AGESA_ROOT)/Lib/amdlib.c

 AGESA_INC := -I$(AGESA_ROOT)/ \
	      -I$(AGESA_ROOT)/Include \
	      -I$(AGESA_ROOT)/Proc/IDS/ \
	      -I$(AGESA_ROOT)/Proc/CPU/ \
	      -I$(AGESA_ROOT)/Proc/CPU/Family

 CFLAGS += $(AGESA_INC)
endif