patch-2.4.0-test6 linux/drivers/pcmcia/Makefile

Next file: linux/drivers/pcmcia/cs.c
Previous file: linux/drivers/pci/setup-res.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/drivers/pcmcia/Makefile linux/drivers/pcmcia/Makefile
@@ -12,8 +12,6 @@
 MOD_SUB_DIRS := $(SUB_DIRS)
 ALL_SUB_DIRS := $(SUB_DIRS)
 
-MOD_LIST_NAME := PCMCIA_MODULES
-
 ifeq ($(CONFIG_PCMCIA),y)
   O_OBJS   := cistpl.o rsrc_mgr.o bulkmem.o
   OX_OBJS  := ds.o cs.o
@@ -41,8 +39,11 @@
       M_OBJS += tcic.o
     endif
      ifeq ($(CONFIG_CARDBUS),y)
+	M_OBJS += yenta_socket.o
 	CORE_OBJS += cardbus.o
-	MX_OBJS += cb_enabler.o yenta.o pci_socket.o
+	CARDBUS_OBJS := pci_socket.o yenta.o
+	OX_OBJS += pci_socket.o yenta.o
+	MX_OBJS += cb_enabler.o
      endif
   endif
 endif
@@ -51,3 +52,6 @@
 
 pcmcia_core.o:  $(CORE_OBJS)
 	$(LD) $(LD_RFLAG) -r -o $@ $(CORE_OBJS)
+
+yenta_socket.o: $(CARDBUS_OBJS)
+	$(LD) $(LD_RFLAG) -r -o $@ yenta.o pci_socket.o

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