2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
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
16 include $(INCLUDE_DIR
)/host-build.mk
17 include $(INCLUDE_DIR
)/cmake.mk
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
27 $(eval
$(call HostBuild
))