summaryrefslogtreecommitdiffstats
path: root/net/ipv6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/Makefile')
-rw-r--r--net/ipv6/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/net/ipv6/Makefile b/net/ipv6/Makefile
index 23754e3d3..f9964e085 100644
--- a/net/ipv6/Makefile
+++ b/net/ipv6/Makefile
@@ -8,18 +8,15 @@
O_TARGET := ipv6.o
-IPV6_OBJS := af_inet6.o ip6_output.o ip6_input.o addrconf.o sit.o \
+
+obj-y := af_inet6.o ip6_output.o ip6_input.o addrconf.o sit.o \
route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o raw.o \
protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
exthdrs.o sysctl_net_ipv6.o datagram.o proc.o \
ip6_flowlabel.o
-M_OBJS := $(O_TARGET)
-
-#ifeq ($(CONFIG_IPV6_FIREWALL),y)
-# IPV6_OBJS += ip6_fw.o
-#endif
+obj-m := $(O_TARGET)
-O_OBJS := $(IPV6_OBJS)
+#obj-$(CONFIG_IPV6_FIREWALL) += ip6_fw.o
include $(TOPDIR)/Rules.make