You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Roman Yeryomin 2ca084ccaa build: improve ccache support
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 <>
4 years ago
files sdk: add OpenWrt branding to menuconfig & .config 4 years ago merge: targets: update image generation and targets 6 years ago
Makefile build: improve ccache support 4 years ago sdk: Fix keeping unset as unset 8 years ago