Messages in this thread Patch in this message | | | Subject | [PATCH] aacraid Makefile error in 2.5.41 | From | Mark Haverkamp <> | Date | 07 Oct 2002 15:34:40 -0700 |
| |
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/
| |