[2.5 patch] fix kbuild breakage in drivers/net/hamradio/soundmodem

Adrian Bunk (bunk@fs.tum.de)
Sun, 20 Oct 2002 14:06:50 +0200 (CEST)


drivers/net/hamradio/soundmodem/Makefile includes the following:

<-- snip -->

...
$(obj)/sm_tbl_%: $(obj)/gentbl
$(obj)/gentbl

<-- snip -->

gentbl is a program that generates some header files. The recent kbuild
changes have the "interesting" effect that this now outputs the header
files to the root directory of the kernel tree instead of
drivers/net/hamradio/soundmodem ...

The following patch fixes this breakage:

--- linux-2.5.44-full/drivers/net/hamradio/soundmodem/Makefile.old 2002-10-20 13:58:47.000000000 +0200
+++ linux-2.5.44-full/drivers/net/hamradio/soundmodem/Makefile 2002-10-20 13:59:04.000000000 +0200
@@ -38,5 +38,5 @@
$(obj)/sm_fsk9600.o: $(obj)/sm_tbl_fsk9600.h

$(obj)/sm_tbl_%: $(obj)/gentbl
- $(obj)/gentbl
+ cd $(obj) && ./gentbl

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- 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/