patch-2.3.49 linux/drivers/acorn/net/Makefile
Next file: linux/drivers/acorn/scsi/Makefile
Previous file: linux/drivers/acorn/char/Makefile
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Mon Feb 28 14:16:37 2000
- Orig file:
v2.3.48/linux/drivers/acorn/net/Makefile
- Orig date:
Sun Sep 6 10:46:07 1998
diff -u --recursive --new-file v2.3.48/linux/drivers/acorn/net/Makefile linux/drivers/acorn/net/Makefile
@@ -4,32 +4,18 @@
#
L_TARGET := acorn-net.a
-L_OBJS :=
-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
+obj-y :=
+obj-m :=
+obj-n :=
+obj- :=
-ifeq ($(CONFIG_ARM_ETHER3),y)
- L_OBJS += ether3.o
-else
- ifeq ($(CONFIG_ARM_ETHER3),m)
- M_OBJS += ether3.o
- endif
-endif
+obj-$(CONFIG_ARM_ETHER1) += ether1.o
+obj-$(CONFIG_ARM_ETHER3) += ether3.o
+obj-$(CONFIG_ARM_ETHERH) += etherh.o
-ifeq ($(CONFIG_ARM_ETHERH),y)
- L_OBJS += etherh.o
-else
- ifeq ($(CONFIG_ARM_ETHERH),m)
- M_OBJS += etherh.o
- endif
-endif
+L_OBJS := $(obj-y)
+M_OBJS := $(obj-m)
include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)