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.
openwrt/target
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>
4 years ago
..
imagebuilder imagebuilder: Remove json_info_files/ before build 4 years ago
linux ramips: mt7621: refactor set affinity script 4 years ago
sdk build: improve ccache support 4 years ago
toolchain build: improve ccache support 4 years ago
Config.in build: define RTC_SUPPORT as a bool 4 years ago
Makefile build: make <subdir>/install opt-in, use it for target/ only 7 years ago