patch-2.1.88 linux/drivers/acorn/net/Makefile

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

diff -u --recursive --new-file v2.1.87/linux/drivers/acorn/net/Makefile linux/drivers/acorn/net/Makefile
@@ -0,0 +1,35 @@
+# File: drivers/acorn/net/Makefile
+#
+# Makefile for the Acorn ethercard network device drivers
+#
+
+L_TARGET := acorn-net.a
+L_OBJS   := net-probe.o
+M_OBJS   :=
+MOD_LIST_NAME := ACORN_NET_MODULES
+
+ifeq ($(CONFIG_ARM_ETHER1),y)
+  L_OBJS += ether1.o
+else
+  ifeq ($(CONFIG_ARM_ETHER1),m)
+    M_OBJS += ether1.o
+  endif
+endif
+
+ifeq ($(CONFIG_ARM_ETHER3),y)
+  L_OBJS += ether3.o
+else
+  ifeq ($(CONFIG_ARM_ETHER3),m)
+    M_OBJS += ether3.o
+  endif
+endif
+
+ifeq ($(CONFIG_ARM_ETHERH),y)
+  L_OBJS += etherh.o
+else
+  ifeq ($(CONFIG_ARM_ETHERH),m)
+    M_OBJS += etherh.o
+  endif
+endif
+
+include $(TOPDIR)/Rules.make

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