From patchwork Fri May 20 11:54:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/3] Fix ccache behaviour if more than one ccache in PATH Date: Fri, 20 May 2011 11:54:34 -0000 From: Patrick Georgi X-Patchwork-Id: 2978 Message-Id: <1305892703.2575.0.camel@linux-0a8x.site> To: coreboot@coreboot.org Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index ac7115d..33e3573 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ endif endif ifeq ($(CONFIG_CCACHE),y) -CCACHE:=$(wildcard $(addsuffix /ccache,$(subst :, ,$(PATH)))) +CCACHE:=$(word 1,$(wildcard $(addsuffix /ccache,$(subst :, ,$(PATH))))) ifeq ($(CCACHE),) $(error ccache selected, but not found in PATH) endif