[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070206.144939.118629871.davem@davemloft.net>
Date: Tue, 06 Feb 2007 14:49:39 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: rdreier@...co.com
Cc: kazunori@...azawa.org, miika@....fi, Diego.Beltrami@...t.fi,
herbert@...dor.apana.org.au, netdev@...r.kernel.org,
usagi-core@...ux-ipv6.org, mst@...lanox.co.il
Subject: Re: depending on IPv6 symbols
From: Roland Dreier <rdreier@...co.com>
Date: Tue, 06 Feb 2007 14:43:15 -0800
> So I hope we can come up with a short-range plan to deal with the
> possibility of built-in code calling icmpv6_send() at least... As you
> said, should we just convert IPV6 to a bool instead of a tristate?
Netfilter handles this by using the Kconfig dependency construct:
config FOO
depends on (IPV6 || IPV6=n)
which essentially means:
if IPV6 is disabled:
Allow FOO to build modular or static, but will get no ipv6
support.
if IPV6 is "y"
Allow FOO to be a static or modular build
if IPV6 is "m"
Allow FOO to be a modular build only
This is the only way to make it all work out currently.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists