From: Sven Wegener Date: Fri, 1 Jan 2021 10:43:50 +0000 (+0100) Subject: build: use CCACHE_DIR for ccache directory X-Git-Tag: v21.02.0-rc1~645 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=01653fe3c765c88af23de650aebff2768dbecc32;hp=e7d0d2e9dcaa0ff1197fb7beee139b6a5bd35c79;p=openwrt%2Fstaging%2Fhauke.git build: use CCACHE_DIR for ccache directory It is being set by rules.mk with the same expression. Signed-off-by: Sven Wegener --- diff --git a/Makefile b/Makefile index 24f5955c90..4ccbc20b85 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ dirclean: clean cacheclean: ifneq ($(CONFIG_CCACHE),) - rm -rf $(if $(call qstrip,$(CONFIG_CCACHE_DIR)),$(call qstrip,$(CONFIG_CCACHE_DIR)),$(TOPDIR)/.ccache) + rm -rf $(CCACHE_DIR) endif ifndef DUMP_TARGET_DB