aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinhui Liu <liulinhui36@gmail.com>2023-03-22 13:20:23 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2023-04-02 18:31:41 +0200
commitdfd8e2c320688b93d7653c272e85d4f55577a328 (patch)
treedb262409ac804ca98c02d068fd9c05585e65dabe /tools
parentd3b47909b199b876f67a0387b5545cb73bd6b815 (diff)
downloadupstream-dfd8e2c320688b93d7653c272e85d4f55577a328.tar.gz
upstream-dfd8e2c320688b93d7653c272e85d4f55577a328.tar.bz2
upstream-dfd8e2c320688b93d7653c272e85d4f55577a328.zip
tools/ccache: always disable documentation compilation
Speed up compilation. Also remove useless include target.mk (b492e69bd2d09aaa2c3c76b52203cbb3527eb2f7). Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/ccache/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index 6824dbddfd..9b5731d5b9 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -5,7 +5,6 @@
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/target.mk
PKG_NAME:=ccache
PKG_VERSION:=4.7.4
@@ -22,10 +21,7 @@ CMAKE_HOST_OPTIONS += \
-DCMAKE_CXX_COMPILER_LAUNCHER="" \
-DCMAKE_SKIP_RPATH=FALSE \
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
+ -DENABLE_DOCUMENTATION=OFF
-DREDIS_STORAGE_BACKEND=OFF
-ifneq (docs-$(CONFIG_BUILD_DOCUMENTATION),docs-y)
-CMAKE_HOST_OPTIONS += -DENABLE_DOCUMENTATION=OFF
-endif
-
$(eval $(call HostBuild))