summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-05-20 22:14:07 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-05-20 22:14:07 +0000
commit96dafaf44dd2bb9068e3fb59bd80c1bf400b83ac (patch)
tree066e065e6796b70cf4a23097e4f780e56c5b7856 /Makefile
parentfb93178f13c49c786ba142b119de9245eaf5b52b (diff)
Fix ccache behaviour if more than one ccache in PATH
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6602 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac7115da30..33e35738bb 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