patch-2.1.105 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 -u --recursive --new-file v2.1.104/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -51,6 +51,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_IBMLS),y)
+L_OBJS += lanstreamer.o
+else
+  ifeq ($(CONFIG_IBMLS),m)
+  M_OBJS += lanstreamer.o
+  endif
+endif
+
 ifeq ($(CONFIG_ETHERTAP),y)
 L_OBJS += ethertap.o
 else
@@ -124,6 +132,16 @@
   endif
 endif
 
+ifeq ($(CONFIG_NE2K_PCI),y)
+L_OBJS += ne2k-pci.o
+CONFIG_8390_BUILTIN = y
+else
+  ifeq ($(CONFIG_NE2K_PCI),m)
+  CONFIG_8390_MODULE = y
+  M_OBJS += ne2k-pci.o
+  endif
+endif
+
 ifeq ($(CONFIG_NE2000),y)
 L_OBJS += ne.o
 CONFIG_8390_BUILTIN = y
@@ -305,6 +323,10 @@
 
 ifeq ($(CONFIG_PCNET32),y)
 L_OBJS += pcnet32.o
+else
+  ifeq ($(CONFIG_PCNET32),m)
+  M_OBJS += pcnet32.o
+  endif
 endif
 
 ifeq ($(CONFIG_DEFXX),y)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov