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 patrick.georgi@secunet.com Acked-by: Stefan Reinauer stefan.reinauer@coreboot.org
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