build: use CCACHE_DIR for ccache directory

It is being set by rules.mk with the same expression.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
This commit is contained in:
Sven Wegener 2021-01-01 11:43:50 +01:00 committed by Paul Spooren
parent e7d0d2e9dc
commit 01653fe3c7

View File

@ -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