Roman Yeryomin 2ca084ccaa build: improve ccache support
Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR).
This allows to do clean and dirclean. Cache hit rate for test build
after dirclean is ~65%.
If CCACHE is enabled stats are printed out at the end of building process.
CCACHE_DIR config variable allows to override default, which could be useful
when sharing cache with many builds.
cacheclean make target allows to clean the cache.

Changes from v1:
- remove ccache directory using CCACHE_DIR variable
- remove ccache leftovers from sdk and toolchain make files
- introduce CONFIG_CCACHE_DIR variable
- introduce cacheclean make target

Signed-off-by: Roman Yeryomin <roman@advem.lv>
2020-07-11 15:19:53 +02:00
..
2019-08-12 12:27:06 +02:00
2015-03-29 07:29:18 +00:00
2020-07-11 15:19:53 +02:00
2020-07-11 13:33:28 +02:00
2020-07-11 15:19:53 +02:00
2019-01-30 13:20:14 +01:00
2018-08-05 00:06:27 +02:00
2020-07-11 15:19:53 +02:00
2020-04-26 21:20:47 +02:00
2019-12-23 00:22:07 +01:00