patch-2.3.36 linux/drivers/net/Makefile

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

diff -u --recursive --new-file v2.3.35/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -17,7 +17,7 @@
 SUB_DIRS     := 
 MOD_SUB_DIRS :=
 MOD_IN_SUB_DIRS :=
-ALL_SUB_DIRS := $(SUB_DIRS) fc hamradio irda pcmcia tokenring wan sk98lin
+ALL_SUB_DIRS := $(SUB_DIRS) fc hamradio irda pcmcia tokenring wan sk98lin arcnet
 
 O_TARGET := net.o
 O_OBJS   :=
@@ -27,7 +27,7 @@
 # All of the (potential) objects that export symbols.
 # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
 
-export-objs     :=	8390.o arcnet.o arlan.o aironet4500_core.o aironet4500_card.o ppp_async.o \
+export-objs     :=	8390.o arlan.o aironet4500_core.o aironet4500_card.o ppp_async.o \
 			ppp_generic.o slhc.o
 
 ifeq ($(CONFIG_PCMCIA),y)
@@ -96,6 +96,15 @@
   endif
 endif
 
+ifeq ($(CONFIG_ARCNET),y)
+SUB_DIRS += arcnet
+MOD_IN_SUB_DIRS += arcnet
+else
+  ifeq ($(CONFIG_ARCNET),m)
+  MOD_IN_SUB_DIRS += arcnet
+  endif
+endif
+
 
 
 obj-$(CONFIG_AIRONET4500) 	+= aironet4500_core.o
@@ -215,11 +224,6 @@
 obj-$(CONFIG_MVME16x_NET) += 82596.o
 obj-$(CONFIG_BVME6000_NET) += 82596.o
 obj-$(CONFIG_DEC_ELCP) += tulip.o
-obj-$(CONFIG_ARCNET) += arcnet.o
-obj-$(CONFIG_ARCNET_COM90xx) += com90xx.o
-obj-$(CONFIG_ARCNET_COM90xxIO) += com90io.o
-obj-$(CONFIG_ARCNET_RIM_I) += arc-rimi.o
-obj-$(CONFIG_ARCNET_COM20020) += com20020.o
 obj-$(CONFIG_ETH16I) += eth16i.o
 obj-$(CONFIG_EPIC100) += epic100.o
 obj-$(CONFIG_ARIADNE2) += ariadne2.o 8390.o

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