patch-2.4.0-prerelease linux/net/x25/Makefile

Next file: linux/net/x25/af_x25.c
Previous file: linux/net/wanrouter/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/net/x25/Makefile linux/net/x25/Makefile
@@ -8,13 +8,12 @@
 # Note 2! The CFLAGS definition is now in the main makefile...
 
 O_TARGET := x25.o
-O_OBJS	 := af_x25.o x25_dev.o x25_facilities.o x25_in.o x25_link.o x25_out.o \
+
+obj-y	 := af_x25.o x25_dev.o x25_facilities.o x25_in.o x25_link.o x25_out.o \
 	    x25_route.o x25_subr.o x25_timer.o
-M_OBJS   := $(O_TARGET)
+obj-m    := $(O_TARGET)
 
-ifeq ($(CONFIG_SYSCTL),y)
-O_OBJS += sysctl_net_x25.o
-endif
+obj-$(CONFIG_SYSCTL) += sysctl_net_x25.o
 
 include $(TOPDIR)/Rules.make
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)