<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot.git/package/ccache, branch master</title>
<subtitle>Buildroot: Making Embedded Linux easy
</subtitle>
<id>https://git.hiegel.fr/cgit/buildroot.git/atom?h=master</id>
<link rel='self' href='https://git.hiegel.fr/cgit/buildroot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/'/>
<updated>2012-07-17T18:23:05Z</updated>
<entry>
<title>all packages: rename XXXTARGETS to xxx-package</title>
<updated>2012-07-17T18:23:05Z</updated>
<author>
<name>Arnout Vandecappelle (Essensium/Mind)</name>
<email>arnout@mind.be</email>
</author>
<published>2012-07-02T22:07:32Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=e1502ebc0c92763896c53d405ee9c7c7a1a33e24'/>
<id>urn:sha1:e1502ebc0c92763896c53d405ee9c7c7a1a33e24</id>
<content type='text'>
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>all packages: use new host-xxx-package macros</title>
<updated>2012-07-17T18:18:03Z</updated>
<author>
<name>Arnout Vandecappelle (Essensium/Mind)</name>
<email>arnout@mind.be</email>
</author>
<published>2012-07-02T22:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=69e64c42b7f325e6e21d063644eea51204321539'/>
<id>urn:sha1:69e64c42b7f325e6e21d063644eea51204321539</id>
<content type='text'>
This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>ccache: allow dynamic selection of cache directory</title>
<updated>2012-05-18T08:42:29Z</updated>
<author>
<name>Thomas De Schampheleire</name>
<email>patrickdepinguin+buildroot@gmail.com</email>
</author>
<published>2012-05-16T19:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=433290761fceb476b095548eec10adf72405e050'/>
<id>urn:sha1:433290761fceb476b095548eec10adf72405e050</id>
<content type='text'>
The existing ccache infrastructure sets the cache directory hardcoded in the
ccache binary. As this directory was set to ~/.buildroot-ccache, the cache
is not necessarily local (e.g. in corporate environments the home directories
may be mounted over NFS.)
Previous versions of buildroot did allow to set the cache directory, but this
was also hardcoded (so you had to rebuild ccache to change it), plus that
support was removed.
See http://lists.busybox.net/pipermail/buildroot/2011-July/044511.html for
a discussion on this.

This patch modifies ccache to respect a new shell variable (exported from
the Makefile, based on a configuration option) instead of CCACHE_DIR.
The name CCACHE_DIR itself is already used by autotargets for the ccache
package.

Signed-off-by: Thomas De Schampheleire &lt;thomas.de.schampheleire@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>ccache: set COMPILERCHECK to 'none'</title>
<updated>2012-03-08T21:56:33Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2012-03-07T19:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=f044e03776652d4f822c2f3787142bda34364965'/>
<id>urn:sha1:f044e03776652d4f822c2f3787142bda34364965</id>
<content type='text'>
This allows ccache to re-use its cache contents even if the compiler
binary mtime has changed. It is the simplest approach to solve this
problem, and it works for the internal, external and crosstool-ng
toolchain backends.

Of course, it leaves the user responsible for invalidating the cache
when necessary, but there doesn't seem to be a real good solution that
allows both to: 1/ keep the cache contents accross builds and re-use
it and 2/ invalidate the cache automatically when the compiler chances
in an incompatible way.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>ccache: Force ccache to use its internal zlib</title>
<updated>2012-03-08T21:53:29Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2012-03-07T19:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=7ea11dafff37c5403432f691cf3c46d1d5566e46'/>
<id>urn:sha1:7ea11dafff37c5403432f691cf3c46d1d5566e46</id>
<content type='text'>
The problem is that without this, ccache would link against the zlib
of the build system, but we might build and install a different
version of zlib in $(O)/host afterwards, which ccache will pick
up. This might break if there is a version mismatch. A solution would
be to add host-zlib has a dependency of ccache, but it would require
tuning the zlib .mk file to use HOSTCC_NOCCACHE as the
compiler. Instead, we take the easy path: tell ccache to use its
internal copy of zlib, so that ccache has zero dependency besides the
C library.

Fixes bug #4808.

Thanks to Raúl Sánchez Siles &lt;rsanchezs@infoglobal.es&gt; for reporting
the bug and testing the proposed solution.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>ccache: bump version</title>
<updated>2012-01-08T17:16:07Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2012-01-08T17:16:07Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=bcf3103f0eee3c3d127f7e45f8cd4b94e7f418fc'/>
<id>urn:sha1:bcf3103f0eee3c3d127f7e45f8cd4b94e7f418fc</id>
<content type='text'>
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>package: remove useless arguments from AUTOTARGETS</title>
<updated>2011-09-29T21:12:27Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2011-09-29T19:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=300f9c9c9dcf2b47ea89c45d5b1ea05e7305bd49'/>
<id>urn:sha1:300f9c9c9dcf2b47ea89c45d5b1ea05e7305bd49</id>
<content type='text'>
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir-&gt;pkgparentdir]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>ccache: bump version</title>
<updated>2011-01-10T11:23:38Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-10T11:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=0063c87c7e754b548a854655aff97ae5478e4c40'/>
<id>urn:sha1:0063c87c7e754b548a854655aff97ae5478e4c40</id>
<content type='text'>
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>ccache: rework ccache management</title>
<updated>2010-12-08T16:51:49Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2010-12-07T20:09:56Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=17b66affdf439ed7c35d2825a1e2bf7967191e14'/>
<id>urn:sha1:17b66affdf439ed7c35d2825a1e2bf7967191e14</id>
<content type='text'>
 * ccache is now a normal package (both for the host and the target).

 * ccache option is now part of the "Build options" menu. It will
   automatically build ccache for the host before building anything,
   and will use it to cache builds for both host compilations and
   target compilations.

 * bump ccache to 3.1.3

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
</feed>
