aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/avalue/eax-785e/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/avalue/eax-785e/Makefile.inc')
-rw-r--r--src/mainboard/avalue/eax-785e/Makefile.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/avalue/eax-785e/Makefile.inc b/src/mainboard/avalue/eax-785e/Makefile.inc
new file mode 100644
index 0000000000..737bb1c1eb
--- /dev/null
+++ b/src/mainboard/avalue/eax-785e/Makefile.inc
@@ -0,0 +1,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_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