Re: kbuild error in 2.5.4[12]

From: Sam Ravnborg (sam@ravnborg.org)
Date: Sun Oct 13 2002 - 08:57:26 EST


On Sun, Oct 13, 2002 at 04:14:44PM +1000, Brett wrote:
>
> Hey,
>
> Got this error when compiling with CONFIG_PCMCIA_QLOGIC=m

The pcmia makefile utilised vpath, the last makefile in 2.5.42 according to
a fast grep.
The following patch made it compile for me, but there were warnings about cli
and friends, so you will not be able to do the final link.

I simply added "../" in front of qlogicfas.o - but this is my opinion not
the final solution for this so I did not sumbit it for inclusion.

Kai - if this is ok, could you include it in next round.
tz@execpc.com also copied - seems to be qlogicfas interested.

        Sam

===== drivers/scsi/pcmcia/Makefile 1.5 vs edited =====
--- 1.5/drivers/scsi/pcmcia/Makefile Sat Mar 23 04:50:20 2002
+++ edited/drivers/scsi/pcmcia/Makefile Sun Oct 13 09:56:49 2002
@@ -2,13 +2,6 @@
 # Makefile for the Linux PCMCIA SCSI drivers.
 #
 
-obj-y :=
-obj-m :=
-obj-n :=
-obj- :=
-
-vpath %c ..
-
 CFLAGS_aha152x.o = -DPCMCIA -D__NO_VERSION__ -DAHA152X_STAT
 CFLAGS_fdomain.o = -DPCMCIA -D__NO_VERSION__
 CFLAGS_qlogicfas.o = -DPCMCIA -D__NO_VERSION__
@@ -21,6 +14,6 @@
 
 aha152x_cs-objs := aha152x_stub.o aha152x.o
 fdomain_cs-objs := fdomain_stub.o fdomain.o
-qlogic_cs-objs := qlogic_stub.o qlogicfas.o
+qlogic_cs-objs := qlogic_stub.o ../qlogicfas.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 : Tue Oct 15 2002 - 22:00:46 EST