patch-2.3.51 linux/net/econet/Makefile

Next file: linux/net/econet/af_econet.c
Previous file: linux/net/decnet/sysctl_net_decnet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/net/econet/Makefile linux/net/econet/Makefile
@@ -7,17 +7,10 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
+O_TARGET := econet.o
 MOD_LIST_NAME := NET_MISC_MODULES
 
-O_OBJS :=
-M_OBJS :=
-
-ifeq ($(CONFIG_ECONET),y)
-  O_OBJS += econet.o
-else
-  ifeq ($(CONFIG_ECONET), m)
-    M_OBJS += econet.o
-  endif
-endif
+O_OBJS := af_econet.o sysctl_net_ec.o
+M_OBJS := $(O_TARGET)
 
 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)