patch-2.1.32 linux/net/core/Makefile

Next file: linux/net/ethernet/Makefile
Previous file: linux/net/bridge/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.31/linux/net/core/Makefile linux/net/core/Makefile
@@ -9,8 +9,12 @@
 
 O_TARGET := core.o
 
-O_OBJS	:= sock.o skbuff.o iovec.o datagram.o sysctl_net_core.o dst.o scm.o \
+O_OBJS	:= sock.o skbuff.o iovec.o datagram.o dst.o scm.o \
 	neighbour.o
+
+ifeq ($(CONFIG_SYSCTL),y)
+O_OBJS += sysctl_net_core.o
+endif
 
 ifdef CONFIG_NET
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov