|
@@ -4,11 +4,11 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-CCACHE_VERSION = 3.3.5
|
|
|
|
|
|
+CCACHE_VERSION = 3.4.2
|
|
CCACHE_SITE = https://www.samba.org/ftp/ccache
|
|
CCACHE_SITE = https://www.samba.org/ftp/ccache
|
|
CCACHE_SOURCE = ccache-$(CCACHE_VERSION).tar.xz
|
|
CCACHE_SOURCE = ccache-$(CCACHE_VERSION).tar.xz
|
|
CCACHE_LICENSE = GPL-3.0+, others
|
|
CCACHE_LICENSE = GPL-3.0+, others
|
|
-CCACHE_LICENSE_FILES = LICENSE.txt GPL-3.0.txt
|
|
|
|
|
|
+CCACHE_LICENSE_FILES = LICENSE.adoc GPL-3.0.txt
|
|
|
|
|
|
# Force ccache to use its internal zlib. The problem is that without
|
|
# Force ccache to use its internal zlib. The problem is that without
|
|
# this, ccache would link against the zlib of the build system, but we
|
|
# this, ccache would link against the zlib of the build system, but we
|
|
@@ -38,8 +38,8 @@ HOST_CCACHE_CONF_ENV = \
|
|
HOST_CCACHE_DEFAULT_CCACHE_DIR = $(patsubst $(HOME)/%,\%s/%,$(BR_CACHE_DIR))
|
|
HOST_CCACHE_DEFAULT_CCACHE_DIR = $(patsubst $(HOME)/%,\%s/%,$(BR_CACHE_DIR))
|
|
|
|
|
|
define HOST_CCACHE_PATCH_CONFIGURATION
|
|
define HOST_CCACHE_PATCH_CONFIGURATION
|
|
- sed -i 's,getenv("CCACHE_DIR"),getenv("BR_CACHE_DIR"),' $(@D)/ccache.c
|
|
|
|
- sed -i 's,"%s/.ccache","$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/conf.c
|
|
|
|
|
|
+ sed -i 's,getenv("CCACHE_DIR"),getenv("BR_CACHE_DIR"),' $(@D)/src/ccache.c
|
|
|
|
+ sed -i 's,"%s/.ccache","$(HOST_CCACHE_DEFAULT_CCACHE_DIR)",' $(@D)/src/conf.c
|
|
endef
|
|
endef
|
|
|
|
|
|
HOST_CCACHE_POST_PATCH_HOOKS += HOST_CCACHE_PATCH_CONFIGURATION
|
|
HOST_CCACHE_POST_PATCH_HOOKS += HOST_CCACHE_PATCH_CONFIGURATION
|