package/pkg-cmake.mk: remove the USE_CCACHE CMake flag for host-package
authorSamuel Martin <s.martin49@gmail.com>
Thu, 21 Aug 2014 20:45:16 +0000 (22:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 28 Sep 2014 18:50:15 +0000 (20:50 +0200)
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@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-cmake.mk

index 30198a93c12316ccc3c354b49aeffdb8d79a748a..f5aefae12f9e35e3937efc7ffa171eca6f736e04 100644 (file)
@@ -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) \
        )