All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] fix kbuild breakage in drivers/atm
@ 2002-10-08 16:02 Adrian Bunk
  2002-10-08 17:49 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2002-10-08 16:02 UTC (permalink / raw)
  To: Mitchell Blank Jr, Linus Torvalds; +Cc: linux-kernel


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.




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

end of thread, other threads:[~2002-10-08 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-08 16:02 [2.5 patch] fix kbuild breakage in drivers/atm Adrian Bunk
2002-10-08 17:49 ` Sam Ravnborg
2002-10-08 22:01   ` Russell King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.