33255e92970611ba4d5e5bb6f395488dea4f9564
[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.1
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:=87959b6819530b3dcaeb39992f585b9fc2c7120302809741378097774919fb6f
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))