lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46A2397C.4050100@s5r6.in-berlin.de>
Date:	Sat, 21 Jul 2007 18:51:08 +0200
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	"Robert P. J. Day" <rpjday@...dspring.com>
CC:	jidong xiao <jidong.xiao@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: what does select statement mean in Kconfig file?

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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ