summaryrefslogtreecommitdiff
path: root/src/mainboard/advansus/a785e-i/Makefile.inc
blob: 0bbc26fcce17714ba1d9cccdb006ba7602d7c32d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#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_common += $(AGESA_INC)
endif