Author: nbd
Date: 2016-01-03 15:44:30 +0100 (Sun, 03 Jan 2016)
New Revision: 48079

Modified:
   trunk/include/cmake.mk
Log:
build: for cmake, always use ccache from staging dir instead of relying on the 
host

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/include/cmake.mk
===================================================================
--- trunk/include/cmake.mk      2016-01-03 11:38:31 UTC (rev 48078)
+++ trunk/include/cmake.mk      2016-01-03 14:44:30 UTC (rev 48079)
@@ -18,10 +18,7 @@
  CMAKE_C_COMPILER_ARG1:=
  CMAKE_CXX_COMPILER_ARG1:=
 else
-  CCACHE:=$(shell which ccache)
-  ifeq ($(CCACHE),)
-    CCACHE:=$(STAGING_DIR_HOST)/bin/ccache
-  endif
+  CCACHE:=$(STAGING_DIR_HOST)/bin/ccache
   CMAKE_C_COMPILER:=$(CCACHE)
   CMAKE_C_COMPILER_ARG1:=$(TARGET_CC_NOCACHE)
   CMAKE_CXX_COMPILER:=$(CCACHE)
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to