summaryrefslogtreecommitdiffstats
path: root/net/rose/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/rose/Makefile')
-rw-r--r--net/rose/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/rose/Makefile b/net/rose/Makefile
index de3f1b257..7799143b0 100644
--- a/net/rose/Makefile
+++ b/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