From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: jidong xiao <jidong.xiao@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: what does select statement mean in Kconfig file?
Date: Sat, 21 Jul 2007 18:51:08 +0200 [thread overview]
Message-ID: <46A2397C.4050100@s5r6.in-berlin.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0707210938190.22394@localhost.localdomain>
Robert P. J. Day wrote:
> On Sat, 21 Jul 2007, jidong xiao wrote:
>
>> Hi,
>> for example, what does the select statement mean?
>>
>> config SERIAL_SH_SCI_CONSOLE
>> bool "Support for console on SH SCI(F)"
>> depends on SERIAL_SH_SCI=y
>> select SERIAL_CORE_CONSOLE
>>
>> Thanks
>> Jason Xiao
>
> it forces the selection of that option. it's sort of like a "depends
> on" in reverse.
It's not really in reverse. It too marks a dependency in the same
direction as "depends on". But the select statement additionally
instructs "make XYZconfig" programs to
- expose the dependent option even if the required option is
disabled,
- silently enable the required option.
The latter is sometimes hard or impossible to satisfy. Therefore the
select statement should be used with care, i.e. only for library-type
helper code which itself shouldn't depend on further options.
--
Stefan Richter
-=====-=-=== -=== =-=-=
http://arcgraph.de/sr/
next prev parent reply other threads:[~2007-07-21 16:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 13:34 jidong xiao
2007-07-21 13:38 ` Robert P. J. Day
2007-07-21 16:51 ` Stefan Richter [this message]
2007-07-21 21:26 ` Krzysztof Halasa
2007-07-21 22:00 ` Stefan Richter
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=46A2397C.4050100@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=jidong.xiao@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rpjday@mindspring.com \
/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®