2020-12-23 09:16:17 +00:00
|
|
|
#
|
2015-06-23 05:21:45 +00:00
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
2006-12-11 16:42:57 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ccache
|
2023-03-17 14:35:16 +00:00
|
|
|
PKG_VERSION:=4.8
|
2006-12-11 16:42:57 +00:00
|
|
|
|
2012-04-02 16:25:08 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2019-04-29 05:26:36 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
|
2023-03-17 14:35:16 +00:00
|
|
|
PKG_HASH:=b963ee3bf88d7266b8a0565e4ba685d5666357f0a7e364ed98adb0dc1191fcbb
|
2006-12-11 16:42:57 +00:00
|
|
|
|
2020-12-19 00:22:29 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2020-12-23 09:16:17 +00:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2020-12-22 19:38:13 +00:00
|
|
|
|
2020-12-23 09:16:17 +00:00
|
|
|
CMAKE_HOST_OPTIONS += \
|
|
|
|
-DCMAKE_C_COMPILER_LAUNCHER="" \
|
2021-01-09 22:04:48 +00:00
|
|
|
-DCMAKE_CXX_COMPILER_LAUNCHER="" \
|
|
|
|
-DCMAKE_SKIP_RPATH=FALSE \
|
|
|
|
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
|
2023-03-22 05:20:23 +00:00
|
|
|
-DENABLE_DOCUMENTATION=OFF
|
2021-10-05 01:37:34 +00:00
|
|
|
-DREDIS_STORAGE_BACKEND=OFF
|
2021-01-09 22:04:48 +00:00
|
|
|
|
2006-12-11 16:42:57 +00:00
|
|
|
$(eval $(call HostBuild))
|