target: zephyr: Fix build when USE_CCACHE=1 (#1413)
target: zephyr: Fix build when USE_CCACHE=1 (#1413)

Currently if USE_CCACHE=1 is set to one than the Zephyr build system
will include ccache in the CC variable. ccache cannot be passed to
cmake using EXTERNAL_CMAKE_C_COMPILER (even if we fix the quoting)
because it fails a PATH reachability test within cmake. For that
reasons we solve the build failure simply by removing ccahce from CC
before we pass it into cmake.

The problem described about is a regression due to commit ac1bf19c90d6
("build: Adopt outputexports") and the fix contained in this patch
restores the original behaviour (zephyr exploits ccache, jerryscript
library build does not).

JerryScript-DCO-1.0-Signed-off-by: Daniel Thompson daniel.thompson@linaro.org
zherczeg/jerryscript,grgustaf/jerryscript,jack60504/jerryscript,tilmannOSG/jerryscript,robertsipka/jerryscript,glistening/jerryscript,dbatyai/jerryscript,bsdelf/jerryscript,martijnthe/jerryscript,bsdelf/jerryscript,LaszloLango/jerryscript,slaff/jerryscript,robertsipka/jerryscript,bzsolt/jerryscript,yichoi/jerryscript,yichoi/jerryscript,robertsipka/jerryscript,martijnthe/jerryscript,jack60504/jerryscript,gabrielschulhof/jerryscript,loki04/jerryscript,yichoi/jerryscript,zherczeg/jerryscript,yichoi/jerryscript,glistening/jerryscript,slaff/jerryscript,dbatyai/jerryscript,LeeHayun/jerryscript,jack60504/jerryscript,zherczeg/jerryscript,loki04/jerryscript,gabrielschulhof/jerryscript,martijnthe/jerryscript,grgustaf/jerryscript,robertsipka/jerryscript,martijnthe/jerryscript,gabrielschulhof/jerryscript,LeeHayun/jerryscript,gabrielschulhof/jerryscript,glistening/jerryscript,LeeHayun/jerryscript,jack60504/jerryscript,glistening/jerryscript,glistening/jerryscript,jerryscript-project/jerryscript,slaff/jerryscript,LaszloLango/jerryscript,tilmannOSG/jerryscript,glistening/jerryscript,slaff/jerryscript,tilmannOSG/jerryscript,LeeHayun/jerryscript,bzsolt/jerryscript,grgustaf/jerryscript,dbatyai/jerryscript,akosthekiss/jerryscript,slaff/jerryscript,grgustaf/jerryscript,yichoi/jerryscript,loki04/jerryscript,dbatyai/jerryscript,robertsipka/jerryscript,LaszloLango/jerryscript,bzsolt/jerryscript,dbatyai/jerryscript,bsdelf/jerryscript,jerryscript-project/jerryscript,bsdelf/jerryscript,martijnthe/jerryscript,jerryscript-project/jerryscript,martijnthe/jerryscript,bsdelf/jerryscript,zherczeg/jerryscript,robertsipka/jerryscript,loki04/jerryscript,jack60504/jerryscript,tilmannOSG/jerryscript,bzsolt/jerryscript,tilmannOSG/jerryscript,akosthekiss/jerryscript,grgustaf/jerryscript,akosthekiss/jerryscript,jerryscript-project/jerryscript,loki04/jerryscript,zherczeg/jerryscript,loki04/jerryscript,jack60504/jerryscript,grgustaf/jerryscript,akosthekiss/jerryscript,akosthekiss/jerryscript,bsdelf/jerryscript,LaszloLango/jerryscript,gabrielschulhof/jerryscript,jerryscript-project/jerryscript,LaszloLango/jerryscript,LeeHayun/jerryscript,bzsolt/jerryscript