patch-2.2.19 linux/drivers/isdn/isdnloop/Makefile

Next file: linux/drivers/isdn/isdnloop/isdnloop.c
Previous file: linux/drivers/isdn/isdn_v110.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/isdn/isdnloop/Makefile linux/drivers/isdn/isdnloop/Makefile
@@ -1,11 +1,14 @@
-L_OBJS :=
-M_OBJS :=
+#
+# Makefile for the isdnloop ISDN device driver
+#
 
-ifeq ($(CONFIG_ISDN_DRV_LOOP),y)
-  L_OBJS += isdnloop.o
-else
-  M_OBJS += isdnloop.o
-endif
+# The target object and module list name.
 
-include $(TOPDIR)/Rules.make
+O_TARGET	:= vmlinux-obj.o
+
+# Each configuration option enables a list of files.
+
+obj-$(CONFIG_ISDN_DRV_LOOP)	+= isdnloop.o
+
+include $(TOPDIR)/drivers/isdn/Rules.make
 

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