diff options
| author | Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> | 2013-08-02 09:33:54 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-08-10 21:19:34 +0200 |
| commit | db443f263a6d51ce6da6557d825a453676f6c664 (patch) | |
| tree | bb17f5e2f8224a93800ac82fe81ddd2274622bdc /package/ccache | |
| parent | 2ba1014009b4b2b2db298e8a5615c8d8e92ef641 (diff) | |
| download | buildroot-db443f263a6d51ce6da6557d825a453676f6c664.tar.gz buildroot-db443f263a6d51ce6da6557d825a453676f6c664.zip | |
host-ccache: turn into a proper dependency
This patch moves the host-ccache build target from BASE_TARGETS in Makefile
to an actual host prerequisite in support/dependencies. This causes
host-ccache to be built as part of the dependencies, before any real package
is built.
Since the dependencies are built without ccache anyway, there is no need to
set HOST_CCACHE_CONF_ENV anymore.
Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ccache')
| -rw-r--r-- | package/ccache/ccache.mk | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/package/ccache/ccache.mk b/package/ccache/ccache.mk index c5cb966458..bead908c3c 100644 --- a/package/ccache/ccache.mk +++ b/package/ccache/ccache.mk @@ -10,12 +10,6 @@ CCACHE_SOURCE = ccache-$(CCACHE_VERSION).tar.bz2 CCACHE_LICENSE = GPLv3+, others CCACHE_LICENSE_FILES = LICENSE.txt GPL-3.0.txt -# When ccache is being built for the host, ccache is not yet -# available, so we have to use the special C compiler without the -# cache. -HOST_CCACHE_CONF_ENV = \ - CC="$(HOSTCC_NOCCACHE)" - # Force ccache to use its internal zlib. 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 |

