Re: Re: menuconfig not working as expected?

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

 



Hi Trent,
> > does this mean v4l-dvb is no longer compatibel with the 2.6.20-kernel ?
> 
> For the moment, yes.


> The v4l-dvb source tracks the latest kernel.  To make the C code work with
> older kernels too, we have all kinds of #if/#endif blocks and magic stuff in
> file called compat.h that takes care of the differences.
> 
> In this case, the problem is that the Kconfig files are not backward
> compatible.  All the things we do to C code won't work for the Kconfig
> language.

Hmm... Are you meaning handling language changes on Kconfig? Yes,
current procedures don't work fine.

> I'm not sure exactly how to handle this.  Maybe we could run the Kconfig files
> through cpp before using them, so we could use #if/#endif style macros to make
> them work on old kernels?  The same gentree.pl script that cleans the C code
> would work on the Kconfig files too.
This would work, although it seems a hack. As you mentioned, it would
make life harder also for make kernellinks. Maybe a better solution
would be writing a diff file to be applied at v4l/kconfig if kernel
version <2.6.20.

>   I'm not sure if the Kconfig files have
> cpp clean syntax, and this could complicate the make kernellinks ability.
> Note that having non-backward compatible kconfig files also complicates
> kernellinks.
Yes.

-- 
Cheers,
Mauro


_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux