[linux-dvb] v4l/scripts/make_config_compat.pl

Reinhard Nissl rnissl at gmx.de
Sun Oct 14 22:12:31 CEST 2007


Hi,

the script doesn't work properly when the KDIR given is outside the
kernel source tree, like it is for most distros which build differently
configured kernel images from the same source tree.

I've therefore hacked it like that:

diff -r 5b19ac1cddb5 v4l/scripts/make_config_compat.pl
--- a/v4l/scripts/make_config_compat.pl Wed Oct 10 13:12:13 2007 +0400
+++ b/v4l/scripts/make_config_compat.pl Sun Oct 14 22:05:22 2007 +0200
@@ -6,6 +6,9 @@ my $outfile=shift or die "should specify
 my $outfile=shift or die "should specify an output config file";

 my $out;
+
+print STDERR "kdir: $kdir\n";
+$kdir='/usr/src/linux-2.6.21-3';

 sub check_spin_lock()
 {

After that, the build succeeds. The attached output shows the first few
lines after typing make. As you can see, I do build the dvb tree outside
of the kernel tree. This is on a openSUSE 10.2 system which uses a
kernel of openSUSE 10.3 alpha, due to some debugging issues.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make_config_compat.txt
Url: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20071014/ebae2e6f/attachment.txt 


More information about the linux-dvb mailing list