build: improve ccache support
[openwrt/openwrt.git] / include / toplevel.mk
index 8564a4de73f6a82f7e04f615b8e71107ee821da7..0a64afe153c002210cc812aa0db8de7953cb4a38 100644 (file)
@@ -262,7 +262,7 @@ package/symlinks-clean:
 help:
        cat README
 
-distclean:
+distclean: cacheclean
        rm -rf bin build_dir .config* dl feeds key-build* logs package/feeds package/openwrt-packages staging_dir tmp
        @$(_SINGLE)$(SUBMAKE) -C scripts/config clean