patch-2.2.18 linux/drivers/s390/net/Makefile

Next file: linux/drivers/s390/net/ctc.c
Previous file: linux/drivers/s390/idals.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/s390/net/Makefile linux/drivers/s390/net/Makefile
@@ -2,15 +2,23 @@
 
 CFLAFS += 
 O_TARGET := s390-net.o
-O_OBJS    :=         
+O_OBJS   := iucv.o
 M_OBJS   :=
 
 ifeq ($(CONFIG_CTC),y)
   O_OBJS += ctc.o
+else
+  ifeq ($(CONFIG_CTC),m)
+  M_OBJS += ctc.o
+  endif
 endif
 
 ifeq ($(CONFIG_IUCV),y)
-  O_OBJS += iucv.o
+  O_OBJS += netiucv.o
+else
+  ifeq ($(CONFIG_IUCV),m)
+    M_OBJS += netiucv.o
+  endif
 endif
 
 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)