patch-2.1.32 linux/net/ax25/Makefile

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

diff -u --recursive --new-file v2.1.31/linux/net/ax25/Makefile linux/net/ax25/Makefile
@@ -11,13 +11,17 @@
 O_TARGET := ax25.o
 O_OBJS	 := ax25_addr.o ax25_dev.o ax25_iface.o ax25_in.o ax25_ip.o ax25_out.o \
 	    ax25_route.o ax25_std_in.o ax25_std_subr.o ax25_std_timer.o \
-	    ax25_subr.o ax25_timer.o ax25_uid.o sysctl_net_ax25.o
+	    ax25_subr.o ax25_timer.o ax25_uid.o
 M_OBJS   := $(O_TARGET)
 
 OX_OBJS  += af_ax25.o
 
 ifeq ($(CONFIG_AX25_DAMA_SLAVE),y)
 O_OBJS += ax25_ds_in.o ax25_ds_subr.o ax25_ds_timer.o
+endif
+
+ifeq ($(CONFIG_SYSCTL),y)
+O_OBJS += sysctl_net_ax25.o
 endif
 
 include $(TOPDIR)/Rules.make

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