[Buildroot] [PATCH] ccache fails if toolchain build dir is deleted

Ed Swierk eswierk at arastra.com
Sat Jul 22 00:11:21 UTC 2006

Deleting the toolchain build directory causes ccache to stop working.
This is unfortunate because the toolchain would otherwise be easy to
package up and distribute as an rpm, which developers could then use
to build packages outside buildroot.

The attached patch prevents ccache.mk from hardcoding the ccache
directory to the toolchain build tree. This restores ccache's default
behavior of looking at the CCACHE_DIR environment variable or using
$HOME/.ccache if it is unset. Using the same ccache directory with
different toolchains shouldn't cause trouble, as ccache is smart
enough to take the compiler into account when computing source file

-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot-ccache-unhardcode-cache-dir.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20060721/3557ef9a/attachment-0001.bin>

More information about the buildroot mailing list