From 6532676f9328ca3bd197b714db4f1de23544cbde Mon Sep 17 00:00:00 2001 From: Scott Duplichan Date: Fri, 12 Dec 2014 15:23:02 -0600 Subject: [PATCH] AMD AGESA boards: Prevent passing duplicate obj names to ar For some of the boards using AMD processors, the Agesa Makefile.inc is processed twice, causing the list of obj files passed to the ar command to be added twice. This does not break the build, but does make the ar command line unnecessarily long. Change-Id: I02a7e6fc617e337ca2e2dceeff3d4db9995bfe16 Signed-off-by: Scott Duplichan Reviewed-on: http://review.coreboot.org/7787 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/supermicro/h8qgi/Makefile.inc | 2 -- src/mainboard/supermicro/h8scm/Makefile.inc | 2 -- src/mainboard/tyan/s8226/Makefile.inc | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/mainboard/supermicro/h8qgi/Makefile.inc b/src/mainboard/supermicro/h8qgi/Makefile.inc index 9a4d419764..de13679a4f 100644 --- a/src/mainboard/supermicro/h8qgi/Makefile.inc +++ b/src/mainboard/supermicro/h8qgi/Makefile.inc @@ -32,5 +32,3 @@ CIMX_PREFIX ?= $(src)/vendorcode/amd/cimx AGESA_ROOT ?= $(AGESA_PREFIX)/f15 NB_CIMX_ROOT ?= $(CIMX_PREFIX)/rd890 SB_CIMX_ROOT ?= $(CIMX_PREFIX)/sb700 - -subdirs-y += ../../../../$(AGESA_ROOT) diff --git a/src/mainboard/supermicro/h8scm/Makefile.inc b/src/mainboard/supermicro/h8scm/Makefile.inc index 9a4d419764..de13679a4f 100644 --- a/src/mainboard/supermicro/h8scm/Makefile.inc +++ b/src/mainboard/supermicro/h8scm/Makefile.inc @@ -32,5 +32,3 @@ CIMX_PREFIX ?= $(src)/vendorcode/amd/cimx AGESA_ROOT ?= $(AGESA_PREFIX)/f15 NB_CIMX_ROOT ?= $(CIMX_PREFIX)/rd890 SB_CIMX_ROOT ?= $(CIMX_PREFIX)/sb700 - -subdirs-y += ../../../../$(AGESA_ROOT) diff --git a/src/mainboard/tyan/s8226/Makefile.inc b/src/mainboard/tyan/s8226/Makefile.inc index 9a4d419764..de13679a4f 100644 --- a/src/mainboard/tyan/s8226/Makefile.inc +++ b/src/mainboard/tyan/s8226/Makefile.inc @@ -32,5 +32,3 @@ CIMX_PREFIX ?= $(src)/vendorcode/amd/cimx AGESA_ROOT ?= $(AGESA_PREFIX)/f15 NB_CIMX_ROOT ?= $(CIMX_PREFIX)/rd890 SB_CIMX_ROOT ?= $(CIMX_PREFIX)/sb700 - -subdirs-y += ../../../../$(AGESA_ROOT)