[Buildroot] [git commit] package/pkg-cmake.mk: remove the USE_CCACHE CMake flag for host-package

Peter Korsgaard peter at korsgaard.com
Sun Sep 28 18:50:15 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=8f6f21444f696f977e2f4ad01430b6d0a8634f82
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The USE_CCACHE CMake flag is only useful when building target package
(only the toolchainfile.cmake uses it).

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/pkg-cmake.mk |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk
index 30198a9..f5aefae 100644
--- a/package/pkg-cmake.mk
+++ b/package/pkg-cmake.mk
@@ -86,7 +86,6 @@ define $(2)_CONFIGURE_CMDS
 		-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" \
 		-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" \
 		-DCMAKE_INSTALL_PREFIX="$$(HOST_DIR)/usr" \
-		-DUSE_CCACHE=$$(if $$(BR2_CCACHE),ON,OFF) \
 		-DBUILD_TESTING=OFF \
 		$$($$(PKG)_CONF_OPT) \
 	)


More information about the buildroot mailing list