Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: [vdr] Re: Re: Problems switching to dvb-kernel



On Saturday 11 September 2004 02:50, Kenneth Aafløy wrote:
> I noticed your post about 'cross compiling' the dvb drivers on the
> linux-dvb mailing list, but I'm a bit stumped that you had to do so much
> considering the great benefits of the kbuild system of 2.6. As an example
> I'll write up a quick summary of what I do:
>
> 1. Make sure that you have a kernel source with the correct configuration
> of your current kernel somewhere.
> 2. Replace the line in build-2.6/Makefile that says
> KERNELSRCDIR := /lib/modules/$(KERNELRELEASE)/build
> to
> KERNELSRCDIR := /where/ever/your/current/kernel/on/this/or/another/box/is
> 3. Compile as many versions of your driver(s) (usually this, or similar
> approaches, works with other drivers too)
>
> I use this to compile both kernel and drivers for a epia m10k on a dual
> athlon mp :)

Sorry, forgot to mention the fact that you should compile both the kernel and 
the modules with the same (or similar) version of gcc (or whatever other 
compiler you find usefull).

Kenneth




Home | Main Index | Thread Index