mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] move aic7xxx ld in drivers/scsi/Makefile
@ 2001-05-16 12:05 Massimo Dal Zotto
  2001-05-16 18:12 ` Justin T. Gibbs
  0 siblings, 1 reply; 2+ messages in thread
From: Massimo Dal Zotto @ 2001-05-16 12:05 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel, tmm

Hi,

while examining the makefiles of kernel-2.4.4 I noticed that the top Makefile
contains a specific reference to the aic7xxx driver which should IMHO be
referenced only by the drivers/scsi/Makefile.
While this is not a real bug I suggest anyway the following patch which moves
the aic7xxx compilation entirely in the drivers/scsi makefile:

--- Makefile.orig	Sat May  5 11:58:47 2001
+++ Makefile	Wed May 16 09:39:37 2001
@@ -155,7 +155,6 @@
 DRIVERS-$(CONFIG_ATM) += drivers/atm/atm.o
 DRIVERS-$(CONFIG_IDE) += drivers/ide/idedriver.o
 DRIVERS-$(CONFIG_SCSI) += drivers/scsi/scsidrv.o
-DRIVERS-$(CONFIG_SCSI_AIC7XXX) += drivers/scsi/aic7xxx/aic7xxx_drv.o
 DRIVERS-$(CONFIG_IEEE1394) += drivers/ieee1394/ieee1394drv.o
 
 ifneq ($(CONFIG_CD_NO_IDESCSI)$(CONFIG_BLK_DEV_IDECD)$(CONFIG_BLK_DEV_SR)$(CONFIG_PARIDE_PCD),)
--- drivers/scsi/Makefile.orig	Tue Mar 27 01:36:30 2001
+++ drivers/scsi/Makefile	Wed May 16 13:30:47 2001
@@ -33,6 +33,10 @@
 
 obj-$(CONFIG_SCSI)		+= scsi_mod.o
 
+ifeq ($(CONFIG_SCSI_AIC7XXX),y)
+  obj-$(CONFIG_SCSI_AIC7XXX)	+= aic7xxx/aic7xxx_mod.o
+endif
+
 obj-$(CONFIG_A4000T_SCSI)	+= amiga7xx.o	53c7xx.o
 obj-$(CONFIG_A4091_SCSI)	+= amiga7xx.o	53c7xx.o
 obj-$(CONFIG_BLZ603EPLUS_SCSI)	+= amiga7xx.o	53c7xx.o
@@ -184,3 +188,6 @@
 sim710_u.h: sim710_d.h
 
 sim710.o : sim710_d.h
+
+aic7xxx/aic7xxx_mod.o:
+	make -C aic7xxx


-- 
Massimo Dal Zotto

+----------------------------------------------------------------------+
|  Massimo Dal Zotto               email: dz@cs.unitn.it               |
|  Via Marconi, 141                phone: ++39-0461534251              |
|  38057 Pergine Valsugana (TN)      www: http://www.cs.unitn.it/~dz/  |
|  Italy                             pgp: see my www home page         |
+----------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] move aic7xxx ld in drivers/scsi/Makefile
  2001-05-16 12:05 [PATCH] move aic7xxx ld in drivers/scsi/Makefile Massimo Dal Zotto
@ 2001-05-16 18:12 ` Justin T. Gibbs
  0 siblings, 0 replies; 2+ messages in thread
From: Justin T. Gibbs @ 2001-05-16 18:12 UTC (permalink / raw)
  To: Massimo Dal Zotto; +Cc: alan, linux-kernel, tmm

>Hi,
>
>while examining the makefiles of kernel-2.4.4 I noticed that the top Makefile
>contains a specific reference to the aic7xxx driver which should IMHO be
>referenced only by the drivers/scsi/Makefile.

This was changed post v6.1.5 of the aic7xxx driver.  Apply the latest
patch for 2.4.4 from here:

http://people.FreeBSD.org/~gibbs/linux/

and see if this is satisfactory.

--
Justin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-16 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-16 12:05 [PATCH] move aic7xxx ld in drivers/scsi/Makefile Massimo Dal Zotto
2001-05-16 18:12 ` Justin T. Gibbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®