linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Mitchell Blank Jr <mitch@sfgoth.com>,
	Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] fix kbuild breakage in drivers/atm
Date: Tue, 8 Oct 2002 18:02:41 +0200 (CEST)	[thread overview]
Message-ID: <Pine.NEB.4.44.0210081752240.8340-100000@mimas.fachschaften.tu-muenchen.de> (raw)


The kbuild changes in 2.5.41 caused the following compile error in
drivers/atm:

<--  snip  -->

...
make[2]: *** No rule to make target `pca200e_ecd.bin2', needed by
`drivers/atm/fore200e_pca_fw.c'.  Stop.
make[1]: *** [drivers/atm] Error 2

<--  snip  -->


The following patch fixes it:


--- linux-2.5.41-notac-full/drivers/atm/Makefile.old	2002-10-08 17:48:26.000000000 +0200
+++ linux-2.5.41-notac-full/drivers/atm/Makefile	2002-10-08 17:50:45.000000000 +0200
@@ -37,7 +37,7 @@
   endif
   ifeq ($(CONFIG_ATM_FORE200E_PCA_DEFAULT_FW),y)
 #   guess the target endianess to choose the right PCA-200E firmware image
-    CONFIG_ATM_FORE200E_PCA_FW := $(shell if test -n "`$(CC) -E -dM ../../include/asm/byteorder.h | grep ' __LITTLE_ENDIAN '`"; then echo pca200e.bin; else echo pca200e_ecd.bin2; fi)
+    CONFIG_ATM_FORE200E_PCA_FW := $(shell if test -n "`$(CC) -E -dM include/asm/byteorder.h | grep ' __LITTLE_ENDIAN '`"; then echo drivers/atm/pca200e.bin; else echo drivers/atm/pca200e_ecd.bin2; fi)
   endif
 endif
 ifeq ($(CONFIG_ATM_FORE200E_SBA),y)





cu
Adrian

BTW:
There might be places in the kernel that are now broken without a compile
error, consider the second part of this line would output a compiler flag
instead of a file name.




             reply	other threads:[~2002-10-08 15:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-08 16:02 Adrian Bunk [this message]
2002-10-08 17:49 ` [2.5 patch] fix kbuild breakage in drivers/atm Sam Ravnborg
2002-10-08 22:01   ` Russell King

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=Pine.NEB.4.44.0210081752240.8340-100000@mimas.fachschaften.tu-muenchen.de \
    --to=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mitch@sfgoth.com \
    --cc=torvalds@transmeta.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;
as well as URLs for NNTP newsgroup(s).