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
This commit is contained in:
parent
fb93178f13
commit
96dafaf44d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue