public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Michal Marek <mmarek@suse.cz>
Cc: linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Arnaud Lacombe <lacombar@gmail.com>,
	linux-kbuild@vger.kernel.org
Subject: Re: [PATCH] kbuld: Implement oldmodconfig
Date: Tue, 24 Apr 2012 03:37:46 -0700	[thread overview]
Message-ID: <m11undpg91.fsf@fess.ebiederm.org> (raw)
In-Reply-To: <4F96705C.5030901@suse.cz> (Michal Marek's message of "Tue, 24 Apr 2012 11:20:28 +0200")

Michal Marek <mmarek@suse.cz> writes:

> Dne 24.4.2012 02:59, Eric W. Biederman napsal(a):
>> 
>> While verifying that my user namespace patches are as complete as I
>> expect them to be I came a came across the need to build kernel
>> configurations with a few choice settings disabled and everything else
>> enabled.  Adding a make oldmodconfig made generating those
>> configurations straight forward, as now I can set the options I care
>> about and the oldmodconfig can answering everything else for me in a
>> consistent way.
>
> Doesn't
>
> KCONFIG_ALLCONFIG=base.config make allmodconfig
>
> do the same thing? If not, the difference should be explained in the
> changelog.

The only difference apparently is that KCONFIG_ALLCONFIG... allmodconfig 
does not show up in the help and is rather unintuitively named so I
totally missed it's presence.

If I get ambitious I might fix the bug that KCONFIG_ALLCONFIG uses some
other working directory when reading a file than the directory that make
was run in.  Which is compounded by the fact that if KCONFIG_ALLCONFIG
can't find your file it treats it as if you had not specified the file
and does this all silently making it just about impossible to debug
without instrumenting up conf.c and confdata.c

So please feel free to drop my patch.

Eric

  reply	other threads:[~2012-04-24 10:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24  0:59 [PATCH] kbuld: Implement oldmodconfig Eric W. Biederman
2012-04-24  9:20 ` Michal Marek
2012-04-24 10:37   ` Eric W. Biederman [this message]
2012-04-24 11:57   ` [PATCH] kbuild: Add error handling to KCONFIG_ALL_CONFIG Eric W. Biederman
2012-04-24 12:33     ` Michal Marek
2012-04-24 12:54       ` Eric W. Biederman
2012-04-24 13:37         ` Michal Marek
2012-04-26  8:51           ` Eric W. Biederman
2012-05-04 22:24             ` 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=m11undpg91.fsf@fess.ebiederm.org \
    --to=ebiederm@xmission.com \
    --cc=akpm@linux-foundation.org \
    --cc=lacombar@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    /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