immortalwrt/target
Roman Yeryomin d0b8cc7732
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>
2021-01-02 12:08:17 +08:00
..
imagebuilder imagebuilder: invoke bundle-libraries.sh w/o buildroot dirs in $PATH 2020-12-31 17:44:24 +08:00
linux kernel: bump to 4.9.249, 4.14.213, 4.19.164 2020-12-31 20:59:32 +08:00
sdk build: improve ccache support 2021-01-02 12:08:17 +08:00
toolchain build: improve ccache support 2021-01-02 12:08:17 +08:00
Config.in build: define PWM_SUPPORT arch feature flag 2020-09-26 11:34:00 +08:00
Makefile