blob: 5fb9fc0fc55103356775688ef0a1e9597a021e78 [file] [log] [blame]
efdesign987c0c64e2011-06-20 19:56:06 -07001#*****************************************************************************
efdesign98621ca382011-06-20 18:12:43 -07002#
efdesign987c0c64e2011-06-20 19:56:06 -07003# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions are met:
5# * Redistributions of source code must retain the above copyright
6# notice, this list of conditions and the following disclaimer.
7# * Redistributions in binary form must reproduce the above copyright
8# notice, this list of conditions and the following disclaimer in the
9# documentation and/or other materials provided with the distribution.
Peter Lemenkov7bbe3bb2018-12-07 11:23:21 +010010# * Neither the name of Advanced Micro Devices, Inc. nor the names of
11# its contributors may be used to endorse or promote products derived
efdesign987c0c64e2011-06-20 19:56:06 -070012# from this software without specific prior written permission.
efdesign9884cbce22011-08-04 12:09:17 -060013#
efdesign987c0c64e2011-06-20 19:56:06 -070014# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17# DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
18# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
efdesign9884cbce22011-08-04 12:09:17 -060024#
efdesign987c0c64e2011-06-20 19:56:06 -070025#*****************************************************************************
efdesign98621ca382011-06-20 18:12:43 -070026
27# AGESA V5 Files
28AGESA_ROOT = src/vendorcode/amd/agesa/f14
29
Kyösti Mälkki3a19a1c2017-08-29 20:17:39 +030030AGESA_AUTOINCLUDES := $(shell find $(AGESA_ROOT)/Proc -type d -exec echo -n "-I"{}" " \;)
31
Kyösti Mälkki12100262017-09-10 08:48:11 +030032AGESA_INC = -I$(src)/vendorcode/amd/include
efdesign98621ca382011-06-20 18:12:43 -070033AGESA_INC += -I$(AGESA_ROOT)
Edward O'Callaghan63ebb242014-11-28 22:26:45 +110034AGESA_INC += -I$(AGESA_ROOT)/../common
efdesign98621ca382011-06-20 18:12:43 -070035AGESA_INC += -I$(AGESA_ROOT)/Include
Kyösti Mälkkid42b7992017-09-24 08:20:51 +030036AGESA_INC += -I$(src)/mainboard/$(MAINBOARDDIR) # OptionsIds.h
efdesign98621ca382011-06-20 18:12:43 -070037
Kyösti Mälkki12100262017-09-10 08:48:11 +030038BUILDOPTS_INCLUDES = -I$(AGESA_ROOT)/Config $(AGESA_INC) $(AGESA_AUTOINCLUDES)
Kyösti Mälkkic8e47422017-08-31 08:52:12 +030039
Kyösti Mälkkiec85e2f2019-02-14 10:50:03 +020040CPPFLAGS_x86_32 += $(AGESA_INC)
41CPPFLAGS_x86_64 += $(AGESA_INC)
Kyösti Mälkki12100262017-09-10 08:48:11 +030042
Edward O'Callaghane07cb652014-04-01 04:13:26 +110043#######################################################################
44
Kyösti Mälkkibe763442017-08-29 10:59:39 +030045subdirs-y += Legacy/Proc
46subdirs-y += $(dir $(shell cd $(dir); find Proc -name Makefile.inc))