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/include
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
..
site Revert faulty tree push 5 years ago
autotools.mk autotools.mk: autoreconf: fix missing install-sh 5 years ago
cmake.mk cmake: Install host packages to lib instead of lib64 4 years ago
debug.mk
depends.mk
device_table.txt
download.mk build: add zstd support to pack/unpack functions 4 years ago
feeds.mk build: suppress error output in feeds.mk 5 years ago
hardened-ld-pie.specs
hardening.mk buildsystem: Make PIE ASLR option tristate 4 years ago
host-build.mk build: improve ccache support 4 years ago
image-commands.mk build: image: set default parameter for check-size 4 years ago
image-legacy.mk
image.mk build: store default/device packages in JSON 4 years ago
kernel-build.mk build: add 'make kernel_xconfig' command 4 years ago
kernel-defaults.mk kernel-defaults: ensure SOURCE_DATE_EPOCH on /init 5 years ago
kernel-version.mk kernel: bump 5.4 to 5.4.51 4 years ago
kernel.mk build: move symvers files to kernel build dir 4 years ago
netfilter.mk kernel: netfilter.mk: fix kmod-ipt-nat6 installation on 5.4 4 years ago
nls.mk
package-bin.mk
package-defaults.mk toolchain: remove gcc libssp and use libc variant 4 years ago
package-dumpinfo.mk
package-ipkg.mk build: reduce number of files passed to ipk-remove 4 years ago
package-seccomp.mk
package.mk build: improve ccache support 4 years ago
prereq-build.mk build, imagebuilder: Do not require libncurses-dev 4 years ago
prereq.mk build: cleanup possibly dangling Python 2 host symlink 5 years ago
quilt.mk build: Use LINUX_DIR for Kernel/Patch 5 years ago
rootfs.mk rootfs.mk: ensure all timestamp are set to SOURCE_DATE_EPOCH 5 years ago
scan.awk
scan.mk build: have scripts/feeds honor all toplevel .mk-files of a feed 5 years ago
shell.sh
subdir.mk
target.mk target.mk: change i386 CPU type to pentium-mmx 4 years ago
toolchain-build.mk
toplevel.mk build: improve ccache support 4 years ago
u-boot.mk u-boot.mk: switch download to https 4 years ago
uclibc++.mk libcxx: Add package 4 years ago
unpack.mk build: add zstd support to pack/unpack functions 4 years ago
verbose.mk
version.mk version.mk: use https:// instead of http:// 5 years ago