patch-2.4.19 linux-2.4.19/drivers/scsi/aacraid/Makefile

Next file: linux-2.4.19/drivers/scsi/aacraid/aachba.c
Previous file: linux-2.4.19/drivers/scsi/a3000.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/scsi/aacraid/Makefile linux-2.4.19/drivers/scsi/aacraid/Makefile
@@ -1,16 +1,10 @@
 
 EXTRA_CFLAGS	+= -I$(TOPDIR)/drivers/scsi
 
+O_TARGET	:= aacraid.o
+obj-m		:= $(O_TARGET)
 
-O_TARGET	:= dummy.o
-
-list-multi	:= aacraid.o
-aacraid-objs	:= linit.o aachba.o commctrl.o comminit.o commsup.o \
+obj-y		:= linit.o aachba.o commctrl.o comminit.o commsup.o \
 		   dpcsup.o rx.o sap1sup.o
 
-obj-$(CONFIG_SCSI_AACRAID) += aacraid.o
-
 include $(TOPDIR)/Rules.make
-
-aacraid.o: $(aacraid-objs)
-	$(LD) -r -o $@ $(aacraid-objs)

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