From: Dave Jones <davej@redhat.com>
To: Michal Marek <mmarek@suse.cz>
Cc: Paul Bolle <pebolle@tiscali.nl>, Jiri Kosina <jkosina@suse.cz>,
linux-kernel@vger.kernel.org
Subject: Re: How to remove 2000+ lines from 400+ defconfig files?
Date: Tue, 15 Nov 2011 13:57:28 -0500 [thread overview]
Message-ID: <20111115185728.GA16643@redhat.com> (raw)
In-Reply-To: <4EC2B1F7.6090108@suse.cz>
On Tue, Nov 15, 2011 at 07:39:51PM +0100, Michal Marek wrote:
> >> The only ones I'd have objections to taking immediately are those which are
> >> actually still referenced somewhere in the code.
> >> For those, either taking them through appropriate maintainers, or having
> >> their Acked-by would be required.
> >
> > I don't mind. That shouldn't be a lot of extra work for me.
> >
> > But, I do have a naive question: are defconfigs meant to be drop in
> > replacements for .config files or is one supposed to first feed them to
> > the config tools to generate an up to date .config?
>
> defconfig files are used as input of the conf program.
It seems to me that these files have always been very neglected.
Perhaps a better solution would be to have 'make defconfig' generate them itself.
This would mean adding addition 'default' parameters to a ton of
existing options, and possibly also some 'if CONFIG_$ARCH' magic, but
that sounds like it would be more future-proof, and would also serve
as better documentation. (As a distro kernel maintainer, the number of
times I've hit undocumented "enable this on arch x, but leave disabled on arch y" is annoying).
Dave
next prev parent reply other threads:[~2011-11-15 18:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1321362602.20271.192.camel@x61.thuisdomein>
2011-11-15 13:14 ` How to remove 2000+ lines from 400+ defconfig files? Jiri Kosina
2011-11-15 15:37 ` Paul Bolle
2011-11-15 18:39 ` Michal Marek
2011-11-15 18:57 ` Dave Jones [this message]
2011-11-15 19:21 ` Paul Bolle
2011-11-15 19:26 ` Paul Bolle
2011-11-15 20:54 ` Michal Marek
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=20111115185728.GA16643@redhat.com \
--to=davej@redhat.com \
--cc=jkosina@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=pebolle@tiscali.nl \
/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