diff --git a/docs/BUILD.md b/docs/BUILD.md index e2e16e8..fcac769 100644 --- a/docs/BUILD.md +++ b/docs/BUILD.md @@ -75,6 +75,21 @@ apt install \ sharutils ``` +Maybe want to use `ccache` to save on rebuilds: + +``` +apt install ccache +``` + +Add to your `~/.bashrc`: + +``` +PATH=/usr/lib/ccache:$PATH +``` + +Then log out and back in and run `echo $PATH` to make sure it is there. +Run `ccache -s` during build to see cache hit rate. + ## Get Source Clone OpenWRT sources, around ~300 megs: