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] [Bug 8771] make savedefconfig modifies sources
Date: Tue, 8 Mar 2016 09:06:51 +0100	[thread overview]
Message-ID: <20160308090651.293fd95e@free-electrons.com> (raw)
In-Reply-To: <56DE1142.6080201@mind.be>

Arnout,

On Tue, 8 Mar 2016 00:39:46 +0100, Arnout Vandecappelle wrote:

>   I think we do agree that it is weird for the in-tree defconfigs. In the past, 
> there was no way to distinguish between the upstream in-tree defconfigs, and the 
> defconfigs that you add to your custom buildroot tree for internal use. But now 
> we could say that you're supposed to use BR2_EXTERNAL, So we could reset 
> BR2_DEFCONFIG for in-tree configs.

To be honest, I don't see the difference between in-tree defconfigs,
and defconfigs in your BR2_EXTERNAL tree. In both cases, if
BR2_DEFCONFIG points to such defconfigs, when you run "make
savedefconfig", you will modify version-controlled source code, which
IMO isn't nice.

But again, this is really a matter of taste, and I did understand the
idea of having make savedefconfig "automagically" save back to the
defconfig the configuration was started from.

I simply believe that:

 - It deviates from what the kernel does, which is a bit in violation
   of our principle "our configuration system is like the kernel"

 - It modifies version-controlled source code.

>   Of course, at the moment we still point to the in-tree 
> configs/<boardname>_defconfig in the manual, so that would have to change first...

I'm not sure what you mean by "we still point to". In which place of
the manual?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2016-03-08  8:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 18:43 [Buildroot] [Bug 8771] New: make savedefconfig modifies sources bugzilla at busybox.net
2016-03-07 20:23 ` [Buildroot] [Bug 8771] " bugzilla at busybox.net
2016-03-07 23:39   ` Arnout Vandecappelle
2016-03-08  8:06     ` Thomas Petazzoni [this message]
2016-03-08 11:36       ` Peter Korsgaard
2016-03-08 17:01       ` Steve Calfee
2016-03-08 17:38         ` Arnout Vandecappelle
2016-03-08 18:06           ` Steve Calfee

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=20160308090651.293fd95e@free-electrons.com \
    --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