Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] ccache dependency issues
Date: Thu, 1 Aug 2013 14:07:06 +0200	[thread overview]
Message-ID: <20130801140706.1ec7edbc@skate> (raw)
In-Reply-To: <CAAXf6LWJPwOwVbP4VOfe2cLRLHC1Ezgk=kx2vYEpEsaMcG7bVA@mail.gmail.com>

Dear Thomas De Schampheleire,

On Thu, 1 Aug 2013 14:03:12 +0200, Thomas De Schampheleire wrote:

> > So the dependencies such as host-tar and host-xzcat are always pulled
> > before host-sstrip and host-ccache, so we should be all set. For sure,
> > this is the case because we don't do top-level parallel build, but
> > there are already many places in Buildroot that rely on ordering of
> > dependencies.
> >
> 
> You're right, this order is fine.
> 
> But the solution of moving host-ccache to dependencies seems so
> surprisingly simple... I wonder why no-one thought of it before,
> surely we are missing something?

I think a lot of the things with those "main" targets in the main
Makefile and the BASE_TARGETS, TARGETS variables and so on is just a
big mess that no one ever cleaned up and clarified with good rules
about what each variable is.

That's why I've NAKed additional 'hacks' such as
http://patchwork.ozlabs.org/patch/257372/ in the past. BTW, I think
moving ccache into the dependencies will avoid the need for this patch
257372, and then we can apply http://patchwork.ozlabs.org/patch/257374/
and http://patchwork.ozlabs.org/patch/257375/.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-08-01 12:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01  9:26 [Buildroot] ccache dependency issues Thomas De Schampheleire
2013-08-01  9:35 ` Thomas Petazzoni
2013-08-01 10:08   ` Thomas De Schampheleire
2013-08-01 11:57     ` Thomas Petazzoni
2013-08-01 12:03       ` Thomas De Schampheleire
2013-08-01 12:07         ` Thomas Petazzoni [this message]
2013-08-01 12:51           ` Thomas De Schampheleire
2013-08-01 12:54             ` Thomas Petazzoni
2013-08-01 21:29               ` Thomas De Schampheleire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130801140706.1ec7edbc@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox