mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Brett <brett@bad-sports.com>,
	Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>,
	tz@execpc.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: kbuild error in 2.5.4[12]
Date: Sun, 13 Oct 2002 15:57:26 +0200	[thread overview]
Message-ID: <20021013155726.A9175@mars.ravnborg.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0210131613200.2373-100000@bad-sports.com>; from brett@bad-sports.com on Sun, Oct 13, 2002 at 04:14:44PM +1000

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

      reply	other threads:[~2002-10-13 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-13  6:14 Brett
2002-10-13 13:57 ` Sam Ravnborg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021013155726.A9175@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=brett@bad-sports.com \
    --cc=kai@tp1.ruhr-uni-bochum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tz@execpc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®