2020-12-23 10:16:17 +01:00
|
|
|
#
|
2015-06-23 07:21:45 +02:00
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
2006-12-11 17:42:57 +01: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-05-20 07:45:19 +02:00
|
|
|
PKG_VERSION:=4.8.1
|
2006-12-11 17:42:57 +01:00
|
|
|
|
2012-04-02 18:25:08 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2019-04-29 07:26:36 +02:00
|
|
|
PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
|
2023-05-20 07:45:19 +02:00
|
|
|
PKG_HASH:=87959b6819530b3dcaeb39992f585b9fc2c7120302809741378097774919fb6f
|
2006-12-11 17:42:57 +01:00
|
|
|
|
2020-12-19 01:22:29 +01:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2020-12-23 10:16:17 +01:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2020-12-22 20:38:13 +01:00
|
|
|
|
2020-12-23 10:16:17 +01:00
|
|
|
CMAKE_HOST_OPTIONS += \
|
|
|
|
-DCMAKE_C_COMPILER_LAUNCHER="" \
|
2021-01-09 23:04:48 +01:00
|
|
|
-DCMAKE_CXX_COMPILER_LAUNCHER="" \
|
|
|
|
-DCMAKE_SKIP_RPATH=FALSE \
|
|
|
|
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
|
2023-03-22 06:20:23 +01:00
|
|
|
-DENABLE_DOCUMENTATION=OFF
|
2021-10-05 03:37:34 +02:00
|
|
|
-DREDIS_STORAGE_BACKEND=OFF
|
2021-01-09 23:04:48 +01:00
|
|
|
|
2006-12-11 17:42:57 +01:00
|
|
|
$(eval $(call HostBuild))
|