* [Buildroot] [PATCH] tar: avoid ccache chicken and egg problem when bootstrapping tar
@ 2013-07-03 20:57 Wade Berrier
2013-08-10 19:32 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Wade Berrier @ 2013-07-03 20:57 UTC (permalink / raw)
To: buildroot
Signed-off-by: Wade Berrier <wberrier@gmail.com>
---
package/tar/tar.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/tar/tar.mk b/package/tar/tar.mk
index 3ffeaf0..56443a8 100644
--- a/package/tar/tar.mk
+++ b/package/tar/tar.mk
@@ -20,6 +20,11 @@ $(eval $(autotools-package))
# host-tar: use cpio.gz instead of tar.gz to prevent chicken-egg problem
# of needing tar to build tar.
HOST_TAR_SOURCE = tar-$(TAR_VERSION).cpio.gz
+
+# ccache isn't available yet when building for the host
+HOST_TAR_CONF_ENV = \
+ CC="$(HOSTCC_NOCCACHE)"
+
define HOST_TAR_EXTRACT_CMDS
mkdir -p $(@D)
cd $(@D) && \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] tar: avoid ccache chicken and egg problem when bootstrapping tar
2013-07-03 20:57 [Buildroot] [PATCH] tar: avoid ccache chicken and egg problem when bootstrapping tar Wade Berrier
@ 2013-08-10 19:32 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-08-10 19:32 UTC (permalink / raw)
To: buildroot
Dear Wade Berrier,
On Wed, 3 Jul 2013 14:57:35 -0600, Wade Berrier wrote:
> Signed-off-by: Wade Berrier <wberrier@gmail.com>
> ---
> package/tar/tar.mk | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/package/tar/tar.mk b/package/tar/tar.mk
> index 3ffeaf0..56443a8 100644
> --- a/package/tar/tar.mk
> +++ b/package/tar/tar.mk
> @@ -20,6 +20,11 @@ $(eval $(autotools-package))
> # host-tar: use cpio.gz instead of tar.gz to prevent chicken-egg problem
> # of needing tar to build tar.
> HOST_TAR_SOURCE = tar-$(TAR_VERSION).cpio.gz
> +
> +# ccache isn't available yet when building for the host
> +HOST_TAR_CONF_ENV = \
> + CC="$(HOSTCC_NOCCACHE)"
> +
> define HOST_TAR_EXTRACT_CMDS
> mkdir -p $(@D)
> cd $(@D) && \
With the patch series from Thomas De Schampheleire that I have just
committed, I think this patch is no longer necessary: all dependencies
that are pulled by the support/dependencies/dependencies.mk code are no
longer built through ccache, they are all built with HOSTCC_NOCCACHE.
Note that the patches from Thomas have been committed in the 'next'
branch, they will be part in the 2013.11 release of Buildroot. They
will land in the 'master' branch of Buildroot when 2013.08 is released.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-10 19:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03 20:57 [Buildroot] [PATCH] tar: avoid ccache chicken and egg problem when bootstrapping tar Wade Berrier
2013-08-10 19:32 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox