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

Next file: linux/net/rose/af_rose.c
Previous file: linux/net/packet/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/net/rose/Makefile linux/net/rose/Makefile
@@ -8,13 +8,12 @@
 # Note 2! The CFLAGS definition is now in the main makefile...
 
 O_TARGET := rose.o
-O_OBJS	 := af_rose.o rose_dev.o rose_in.o rose_link.o rose_loopback.o \
+
+obj-y	 := af_rose.o rose_dev.o rose_in.o rose_link.o rose_loopback.o \
 	    rose_out.o rose_route.o rose_subr.o rose_timer.o
-M_OBJS   := $(O_TARGET)
+obj-m    := $(O_TARGET)
 
-ifeq ($(CONFIG_SYSCTL),y)
-O_OBJS += sysctl_net_rose.o
-endif
+obj-$(CONFIG_SYSCTL) += sysctl_net_rose.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)