patch-1.3.87 linux/drivers/net/Makefile

Next file: linux/drivers/net/README.3c505
Previous file: linux/drivers/net/3c59x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.86/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -8,7 +8,7 @@
 include CONFIG
 
 L_TARGET := net.a
-L_OBJS   := Space.o auto_irq.o net_init.o loopback.o
+L_OBJS   := auto_irq.o
 M_OBJS   :=
 MOD_LIST_NAME := NET_MODULES
 
@@ -29,6 +29,10 @@
       CONFIG_SLHC_MODULE = y
     endif
   endif
+endif
+
+ifeq ($(CONFIG_NET),y)
+L_OBJS += Space.o net_init.o loopback.o
 endif
 
 ifeq ($(CONFIG_SEEQ8005),y)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this