patch-2.4.2 linux/drivers/s390/Makefile

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

diff -u --recursive --new-file v2.4.1/linux/drivers/s390/Makefile linux/drivers/s390/Makefile
@@ -11,19 +11,18 @@
 
 CFLAGS += 
 O_TARGET := io.o
-O_OBJS    :=         
-M_OBJS   :=
 
-SUBDIRS := $(SUBDIRS) arch/s390/drivers/block arch/s390/drivers/char \
-	arch/s390/drivers/misc  arch/s390/drivers/net
-MOD_SUB_DIRS += ./net
+obj-y	:= s390io.o s390mach.o s390dyn.o idals.o ccwcache.o
 
-O_OBJS := block/s390-block.o \
+subdir-y := block char misc net
+subdir-m := $(subdir-y)
+
+obj-y += block/s390-block.o \
   char/s390-char.o \
   misc/s390-misc.o \
   net/s390-net.o 
 
-io.o: $(O_OBJS)
+io.o: $(obj-y)
 
 block/s390-block.o: dummy
 	$(MAKE)  -C block

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