Re: Config.in (2.4) -> Kconfig (2.6)

From: Catalin Marinas (catalin.marinas_at_arm.com)
Date: 05/27/04


Date: Thu, 27 May 2004 09:58:16 +0100

Lukas Ruf <ruf@rawip.org> writes:

> 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

Would the following do what you need?

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

  config IP_NF_PROMETHOS_TARGET
    tristate
    depends on IP_NF_PROMETHOS
    default IP_NF_PROMETHOS

Add a prompt to IP_NF_PROMETHOS_TARGET if you want it to appear in the
config menu (either a new line with "prompt '...'" or modify the
"tristate '...'" line).

Regards,

Catalin



Relevant Pages