summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/agesa
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2011-12-01 17:49:43 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-12-02 08:59:26 +0100
commit2a830d0b9807566a5f2c4401cd9fd285661034f1 (patch)
treeb9d14fbb849d8191da333f166db3cf7534da43d8 /src/vendorcode/amd/agesa
parent2c1f4d2d836bfb5728c692e08bda172a1639ec81 (diff)
Change AMD vendorcode build
Apply the normal method of recursively including subdirectories for src/vendorcode. Remove redundant references under mainboard and northbridge. Change-Id: I914a6e262ed2abe83f407df36fe5c1af5eb4bcb0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/468 Tested-by: build bot (Jenkins) Reviewed-by: Kerry Sheh <shekairui@gmail.com> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/vendorcode/amd/agesa')
-rw-r--r--src/vendorcode/amd/agesa/Makefile.inc3
-rwxr-xr-xsrc/vendorcode/amd/agesa/f10/Makefile.inc2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/vendorcode/amd/agesa/Makefile.inc b/src/vendorcode/amd/agesa/Makefile.inc
new file mode 100644
index 0000000000..5516888d19
--- /dev/null
+++ b/src/vendorcode/amd/agesa/Makefile.inc
@@ -0,0 +1,3 @@
+subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY10) += f10
+subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY12) += f12
+subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY14) += f14
diff --git a/src/vendorcode/amd/agesa/f10/Makefile.inc b/src/vendorcode/amd/agesa/f10/Makefile.inc
index b2125151b7..298eb954ca 100755
--- a/src/vendorcode/amd/agesa/f10/Makefile.inc
+++ b/src/vendorcode/amd/agesa/f10/Makefile.inc
@@ -18,7 +18,7 @@
#
## ABSOLUTE AGESA V5 ROOT PATH ##
-AGESA_ROOT ?= $(PWD)
+AGESA_ROOT = src/vendorcode/amd/agesa/f10
AGESA_INC ?= -I$(src)/mainboard/$(MAINBOARDDIR)
AGESA_INC += -I$(AGESA_ROOT)