summaryrefslogtreecommitdiffstats
path: root/net/netrom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netrom/Makefile')
-rw-r--r--net/netrom/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/netrom/Makefile b/net/netrom/Makefile
index 1afcfd8e7..e44e36144 100644
--- a/net/netrom/Makefile
+++ b/net/netrom/Makefile
@@ -8,13 +8,12 @@
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := netrom.o
-O_OBJS := af_netrom.o nr_dev.o nr_in.o nr_loopback.o nr_out.o nr_route.o \
+
+obj-y := af_netrom.o nr_dev.o nr_in.o nr_loopback.o nr_out.o nr_route.o \
nr_subr.o nr_timer.o
-M_OBJS := $(O_TARGET)
+obj-m := $(O_TARGET)
-ifeq ($(CONFIG_SYSCTL),y)
-O_OBJS += sysctl_net_netrom.o
-endif
+obj-$(CONFIG_SYSCTL) += sysctl_net_netrom.o
include $(TOPDIR)/Rules.make