74b2ae3b44c6fb32a67daccdb306312aa41a4474
[openwrt/openwrt.git] / tools / ccache / Makefile
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=ccache
10 PKG_VERSION:=4.8
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
14 PKG_HASH:=b963ee3bf88d7266b8a0565e4ba685d5666357f0a7e364ed98adb0dc1191fcbb
15
16 include $(INCLUDE_DIR)/host-build.mk
17 include $(INCLUDE_DIR)/cmake.mk
18
19 CMAKE_HOST_OPTIONS += \
20 -DCMAKE_C_COMPILER_LAUNCHER="" \
21 -DCMAKE_CXX_COMPILER_LAUNCHER="" \
22 -DCMAKE_SKIP_RPATH=FALSE \
23 -DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
24 -DENABLE_DOCUMENTATION=OFF
25 -DREDIS_STORAGE_BACKEND=OFF
26
27 $(eval $(call HostBuild))