[PATCH] aacraid Makefile error in 2.5.41

From: Mark Haverkamp (markh@osdl.org)
Date: Mon Oct 07 2002 - 17:34:40 EST


I tried building the aacraid driver in 2.5.41 and got an error
saying that O_TARGET usage was obsolete. The following change
to the Makefile allows me to build.

--- base_linux-2.5/drivers/scsi/aacraid/Makefile Mon Oct 7 13:03:15 2002
+++ linux-2.5/drivers/scsi/aacraid/Makefile Mon Oct 7 14:30:03 2002
@@ -1,10 +1,9 @@
 
 EXTRA_CFLAGS += -I$(TOPDIR)/drivers/scsi
 
-O_TARGET := aacraid.o
-obj-m := $(O_TARGET)
+obj-$(CONFIG_SCSI_AACRAID) := aacraid.o
 
-obj-y := linit.o aachba.o commctrl.o comminit.o commsup.o \
+aacraid-objs := linit.o aachba.o commctrl.o comminit.o commsup.o \
                    dpcsup.o rx.o sa.o
 
 include $(TOPDIR)/Rules.make

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:01 EST