From: Roman Zippel <zippel@linux-m68k.org>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5 kconfig doesn't handle "&& m" correctly
Date: Thu, 21 Nov 2002 17:38:50 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.44.0211211655250.2113-100000@serv> (raw)
In-Reply-To: <20021121132459.GC18869@fs.tum.de>
Hi,
On Thu, 21 Nov 2002, Adrian Bunk wrote:
> > treated like booleans, that means they are visible if the dependencies are
> > different than 'n'. For this it should be possible to automatically add
> > '&& MODULES' if the parser sees a 'm'. I'll have to check this out.
>
> My first thought is that this sounds like a workaround. Is there a good
> reason not to restore the semantics of the old kconfig that interpreted
> dependencies as a restriction of the input range?
It still does mostly, that's one case I missed. The old config had more
than one semantic regarding visible input range (the shell 'if' semantic
and the dep_* dependencies, which differed again between the commands),
kconfig has only one. So it's not matter of restoring semantics, but
translating them correctly. In general a symbol is now visibile is if the
dependencies are !='n', "restoring" would mean to change this into ='y'
only for tristate symbols when MODULES='n', this would be an even larger
hack. Translating 'm' into 'm && MODULES' is the cleaner solution, as it
doesn't change the base kconfig logic.
bye, Roman
prev parent reply other threads:[~2002-11-21 16:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-21 8:39 Adrian Bunk
2002-11-21 12:57 ` Roman Zippel
2002-11-21 13:24 ` Adrian Bunk
2002-11-21 16:38 ` Roman Zippel [this message]
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=Pine.LNX.4.44.0211211655250.2113-100000@serv \
--to=zippel@linux-m68k.org \
--cc=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®