Thread (7 messages) 7 messages, 3 authors, 2007-02-07

Re: depending on IPv6 symbols

From: David Miller <davem@davemloft.net>
Date: 2007-02-06 22:50:04

From: Roland Dreier <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help