Browse Source

build: use CCACHE_DIR for ccache directory

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

Signed-off-by: Sven Wegener <[email protected]>
Sven Wegener 4 years ago
parent
commit
01653fe3c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
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