summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorThomas Graf <tgraf@infradead.org>2011-03-04 00:35:07 +0100
committerDavid S. Miller <davem@davemloft.net>2011-03-07 21:50:52 +0100
commit2ea6d8c446752008df7f37867f0cf7483533b05e (patch)
tree54bd35eed335afe32bad4fd0e81950c185222303 /net/Makefile
parentnet/smsc911x.c: Set the VLAN1 register to fix VLAN MTU problem (diff)
downloadlinux-2ea6d8c446752008df7f37867f0cf7483533b05e.tar.xz
linux-2ea6d8c446752008df7f37867f0cf7483533b05e.zip
net: Enter net/ipv6/ even if CONFIG_IPV6=n
exthdrs_core.c and addrconf_core.c in net/ipv6/ contain bits which must be made available even if IPv6 is disabled. net/ipv6/Makefile already correctly includes them if CONFIG_IPV6=n but net/Makefile prevents entering the subdirectory. Signed-off-by: Thomas Graf <tgraf@infradead.org> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/Makefile b/net/Makefile
index a3330ebe2c53..a51d9465e628 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -19,9 +19,7 @@ obj-$(CONFIG_NETFILTER) += netfilter/
obj-$(CONFIG_INET) += ipv4/
obj-$(CONFIG_XFRM) += xfrm/
obj-$(CONFIG_UNIX) += unix/
-ifneq ($(CONFIG_IPV6),)
-obj-y += ipv6/
-endif
+obj-$(CONFIG_NET) += ipv6/
obj-$(CONFIG_PACKET) += packet/
obj-$(CONFIG_NET_KEY) += key/
obj-$(CONFIG_BRIDGE) += bridge/