public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>,
	Roman Zippel <zippel@linux-m68k.org>,
	Linus Torvalds <torvalds@osdl.org>
Subject: [BUG] 2.6.6-rc3: make xxx_defconfig randomly sets options
Date: Wed, 28 Apr 2004 14:53:16 +0100	[thread overview]
Message-ID: <20040428145316.C24948@flint.arm.linux.org.uk> (raw)

Hi,

If I have an ARM defconfig file which contains:

# CONFIG_SERIO is not set

with none of the other CONFIG_SERIO symbols, and I run make foo_defconfig,
I get the following in the resulting .config:

CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y

This is despite not being an X86 architecture, and isn't affected by
whether CONFIG_EMBEDDED is set or not.

If I run "make oldconfig" after switching CONFIG_SERIO off and removing
the other CONFIG_SERIO_* symbols, I get:

Serial i/o support (SERIO) [Y/?] y
i8042 PC Keyboard controller (SERIO_I8042) [Y/n/m/?] (NEW)

It appears SERIO is forced on because SERIO_I8042 _may_ be wanted by
the user, which in turn forces SERIO_I8042 to Y in the defconfig case
because we don't accept input from the user and the default is Y.

So, there is _no_ way to presently have a working defconfig file for
a machine which does not support I8042 - I8042 will always be
_unconditionally_ selected no matter what.

Can we please take Aunt Tillie out to the firing squad?  This hacking
around with the Kconfig files to make X86 life simple is causing _real_
bugs for other architectures.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

             reply	other threads:[~2004-04-28 13:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28 13:53 Russell King [this message]
2004-04-28 14:36 ` [BUG] 2.6.6-rc3: make xxx_defconfig randomly sets options Russell King

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=20040428145316.C24948@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=zippel@linux-m68k.org \
    /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