patch-2.2.14 linux/drivers/s390/block/Makefile

Next file: linux/drivers/s390/block/dasd.c
Previous file: linux/drivers/s390/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/drivers/s390/block/Makefile linux/drivers/s390/block/Makefile
@@ -0,0 +1,25 @@
+all: s390-block.o
+
+CFLAGS += 
+O_TARGET := s390-block.o
+O_OBJS   :=         
+M_OBJS   :=
+
+ifeq ($(CONFIG_DASD),y)
+  O_OBJS += dasd.o dasd_ccwstuff.o 
+  ifeq ($(CONFIG_PROC_FS),y)
+   O_OBJS += dasd_proc.o dasd_profile.o
+  endif 
+  ifeq ($(CONFIG_DASD_ECKD),y)
+   O_OBJS += dasd_eckd.o
+  endif 
+endif
+
+ifeq ($(CONFIG_MDISK),y)
+  O_OBJS += mdisk.o
+endif
+
+dasd_mod.o: $(D_OBJS)
+	$(LD) $(LD_RFLAG) -r -o $@ $+
+
+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)