Author: oxygene
Date: Sat May 21 00:14:07 2011
New Revision: 6602
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6602

Log:
Fix ccache behaviour if more than one ccache in PATH

Signed-off-by: Patrick Georgi <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile      Fri May 20 19:50:14 2011        (r6601)
+++ trunk/Makefile      Sat May 21 00:14:07 2011        (r6602)
@@ -109,7 +109,7 @@
 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

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to