Thread (3 messages) flat view 3 messages, 2 authors, 2012-09-20

Re: [Patch net-next] l2tp: fix compile error when CONFIG_IPV6=m and CONFIG_L2TP=y

From: David Miller <davem@davemloft.net>
Date: 2012-09-19 20:44:05

From: Cong Wang <redacted>
Date: Tue, 18 Sep 2012 13:54:02 +0800
When CONFIG_IPV6=m and CONFIG_L2TP=y, I got the following compile error:
 ...
This is due to l2tp uses symbols from IPV6, so when l2tp is
builtin, IPV6 has to be builtin too.

Cc: David Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <redacted>
The correct way to express this is:

	depends on (IPV6 || IPV6=n)

Which results in the KCONFIG option only being offers in modes
compatible with the dependency.  Using a 'select' doesn't work
properly in these kinds of cases.

Anyways, grep for that string to see how it is used in other similar
situations.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help