public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Kegel <dank@kegel.com>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Fix allnoconfig on arm with small tweak to kconfig?
Date: Mon, 13 Sep 2004 08:22:24 -0700	[thread overview]
Message-ID: <4145BB30.60309@kegel.com> (raw)
In-Reply-To: <20040913091534.B27423@flint.arm.linux.org.uk>

Russell King wrote:
> On Mon, Sep 13, 2004 at 12:53:33AM -0700, Dan Kegel wrote:
> 
>>'make allnoconfig' generates a broken .config on arm because
>>none of the boolean CPU types get selected.
>>ARCH_RPC *does* get selected ok, and I can make CPU_SA110 the
>>default if ARCH_RPC, but that doesn't help, since allnoconfig
>>sets all booleans that are exposed to the user to false, so
>>CPU_SA110 remains false.
> 
> 
> allnoconfig is broken.  It doesn't generate a legal configuration on
> this platform.

I think that's what I said.  I guess you're saying it more forcefully;
you seem to be implying "the basic idea of allnoconfig is broken."

> There are cases where you have the choice of selecting several options
> and you may select one or more.  Zero options selected is not valid.
> Unfortunately, Kconfig does not provide a way to express this.

I think that's also what I said.

>>I tried it (see patch below), but couldn't get it to work in first
>>few tries.  Can someone who understands kconfig have a look?
> 
> 
> I don't think hacking around allnoconfig works - it means that we
> have to decide on a default for every configuration.  ARCH_RPC is
> only one such small case.  There's loads more.

I guess it depends on your goals.  My goal is to use allnoconfig
as a toolchain regression test.  For each arch, I want an easy way
to build some kernel (any kernel!) for that arch.  ARCH_RPC
is the default on arm (yes, I know you think the whole
concept of defaults on arm is broken), so it's the only one that
needs fixing.

Any feedback from people who don't think allnoconfig is a useless idea?

Thanks,
Dan

-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

  reply	other threads:[~2004-09-13 15:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13  7:53 Fix allnoconfig on arm with small tweak to kconfig? Dan Kegel
2004-09-13  8:15 ` Russell King
2004-09-13 15:22   ` Dan Kegel [this message]
2004-09-13 18:51     ` Russell King
2004-09-13 19:29       ` Herbert Poetzl
2004-09-13 21:06         ` Nicolas Pitre
2004-09-13 21:34         ` Russell King
2004-09-14  1:42       ` Dan Kegel
2004-09-14  8:29         ` Russell King
2004-09-17  8:39           ` Dan Kegel

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=4145BB30.60309@kegel.com \
    --to=dank@kegel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    /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