Config.in (2.4) vs. Kconfig (2.6)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

after reading 'Documentation/kbuild/kconfig-language.txt' several
times, I dare ask in this mailing list for help:

In 2.4's Config.in, there was the possibility to 'define_tristate' a
configuration setting depending on another one.

I assume this feature must be available in 2.6's Kconfig too.
However, I cannot find any information that helps me in this regard.

In concrete:
in 2.4 I have had:

  if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
    dep_tristate   '  PromethOS ANN (ipv4) (EXPERIMENTAL)' \
          CONFIG_IP_NF_PROMETHOS $CONFIG_IP_NF_IPTABLES
    if [ "$CONFIG_IP_NF_PROMETHOS" != "n" ]; then
      define_tristate CONFIG_IP_NF_PROMETHOS_TARGET  \
          $CONFIG_IP_NF_PROMETHOS

In 2.6, so far I have:

  config IP_NF_PROMETHOS
    tristate 'PromethOS ANN (ipv4)'
    depends on EXPERIMENTAL && IP_NF_IPTABLES
    help
      This options makes Linux a high-performance active network node.


I have not understood so far, how I can set
- boolean values
- define_tristate
in 2.6's Kconfig.

For any brief help, I would be very thankful!

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux