patch-2.1.32 linux/net/bridge/Makefile

Next file: linux/net/core/Makefile
Previous file: linux/net/ax25/ax25_dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.31/linux/net/bridge/Makefile linux/net/bridge/Makefile
@@ -8,8 +8,12 @@
 # Note 2! The CFLAGS definition is now in the main makefile...
 
 O_TARGET := bridge.o
-O_OBJS	 := br.o br_tree.o sysctl_net_bridge.o
+O_OBJS	 := br.o br_tree.o
 M_OBJS   := $(O_TARGET)
+
+ifeq ($(CONFIG_SYSCTL),y)
+O_OBJS += sysctl_net_bridge.o
+endif
 
 include $(TOPDIR)/Rules.make
 

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