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