patch-2.2.16 linux/drivers/net/Makefile

Next file: linux/drivers/net/Space.c
Previous file: linux/drivers/net/Config.in
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -831,6 +831,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_HAMACHI),y)
+L_OBJS += hamachi.o
+else
+  ifeq ($(CONFIG_HAMACHI),m)
+  M_OBJS += hamachi.o
+  endif
+endif
+
 ifeq ($(CONFIG_HOSTESS_SV11),y)
 L_OBJS += hostess_sv11.o
 CONFIG_85230_BUILTIN = y
@@ -877,6 +885,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_SYNCLINK_SYNCPPP),y)
+CONFIG_SYNCPPP_BUILTIN = y
+else
+  ifeq ($(CONFIG_SYNCLINK_SYNCPPP),m)
+  CONFIG_SYNCPPP_MODULE = y
+  endif
+endif
+
 #
 # COMX drivers
 #
@@ -950,6 +966,40 @@
   ifdef CONFIG_85230_MODULE
   MX_OBJS += z85230.o
   CONFIG_SYNCPPP_MODULE=y
+  endif
+endif
+
+ifeq ($(CONFIG_HDLC),y)
+L_OBJS += hdlc.o
+CONFIG_SYNCPPP_BUILTIN = y
+else
+  ifeq ($(CONFIG_HDLC),m)
+  M_OBJS += hdlc.o
+  CONFIG_SYNCPPP_MODULE = y
+  endif
+endif
+
+ifeq ($(CONFIG_N2),y)
+L_OBJS += n2.o
+else
+  ifeq ($(CONFIG_N2),m)
+  M_OBJS += n2.o
+  endif
+endif
+
+ifeq ($(CONFIG_C101),y)
+L_OBJS += c101.o
+else
+  ifeq ($(CONFIG_C101),m)
+  M_OBJS += c101.o
+  endif
+endif
+
+ifeq ($(CONFIG_WANXL),y)
+L_OBJS += wanxl.o
+else
+  ifeq ($(CONFIG_WANXL),m)
+  M_OBJS += wanxl.o
   endif
 endif
 

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