[NET]: Only build flow.o if CONFIG_XFRM=y
authorPatrick McHardy <kaber@trash.net>
Tue, 19 Jul 2005 20:58:40 +0000 (13:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2005 20:58:40 +0000 (13:58 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/Makefile

index 5e0c56b7f60763f45d4869843ec8659f45c5da30..f5f5e58943e862e0dde31729cb2a370060c3dd76 100644 (file)
@@ -7,9 +7,10 @@ obj-y := sock.o request_sock.o skbuff.o iovec.o datagram.o stream.o scm.o \
 
 obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
 
-obj-y               += flow.o dev.o ethtool.o dev_mcast.o dst.o \
+obj-y               += dev.o ethtool.o dev_mcast.o dst.o \
                        neighbour.o rtnetlink.o utils.o link_watch.o filter.o
 
+obj-$(CONFIG_XFRM) += flow.o
 obj-$(CONFIG_SYSFS) += net-sysfs.o
 obj-$(CONFIG_NETFILTER) += netfilter.o
 obj-$(CONFIG_NET_DIVERT) += dv.o