On Tue, 2005-03-08 at 10:20 +0000, Ian Campbell wrote:
> On Mon, 2005-03-07 at 22:21 -0800, Rob Comstock wrote:
> > Looks like Makefile2.6 is after the Kbuild file from the driver directory
> > but the -C directive has it building from the /lib/modules/2.6.9/build dir
> > instead?
> > Should a makefile include patch be added?
>
> The Makefile is correct according to the examples in the kernels
> Documentation/kbuild/modules.txt but it looks to me as if
> include $(srctree)/Kbuild
> might be more correct.
actually, it's $(src)/Kbuild that does the trick.
diff -u ivtv-0.3.2h/driver/Makefile2.6{.orig,}
--- ivtv-0.3.2h/driver/Makefile2.6.orig 2005-03-08 11:05:52.000000000 +0000
+++ ivtv-0.3.2h/driver/Makefile2.6 2005-03-08 11:06:03.000000000 +0000
@@ -1,5 +1,5 @@
ifneq ($(KERNELRELEASE),)
-include Kbuild
+include $(src)/Kbuild
else
CONFIG := CONFIG_VIDEO_IVTV=m
Ian.
--
Ian Campbell
Current Noise: Monster Magnet - Atomic Clock
In case of injury notify your superior immediately. He'll kiss it and
make it better.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel