summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2017-09-22 18:16:27 -0600
committerMartin Roth <martinroth@google.com>2017-09-30 20:29:11 +0000
commitb639bef83644a13ae8864095c8635c722bd37754 (patch)
tree68525a67276b91b2e52236dc3e57c42327714e55
parentc060fb5aace8b3445bb79bbaf74145a022022e57 (diff)
soc/amd/common: Add included directory
If the symbol SOC_AMD_COMMON is selected, include the soc/amd/common directory. Until now this has been working due to the directory being included as part of AGESA_INC in vendorcode. That one is still necessary in order to build the AGESA code so it is left in place for now. Change-Id: Ia8191897d2030c475c9268ae86faaf01952c6ace Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/21738 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/soc/amd/common/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc
index e11695bef3..aa27512a05 100644
--- a/src/soc/amd/common/Makefile.inc
+++ b/src/soc/amd/common/Makefile.inc
@@ -1,5 +1,7 @@
ifeq ($(CONFIG_SOC_AMD_COMMON),y)
+CPPFLAGS_common += -I$(src)/soc/amd/common
+
bootblock-y += agesawrapper.c
bootblock-y += def_callouts.c
bootblock-y += heapmanager.c