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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]