summaryrefslogtreecommitdiff
path: root/v4l/scripts/make_makefile.pl
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-21 12:23:13 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-21 12:23:13 -0300
commit6cfc8eeff6261fb1153a67e5bc3c71616f332044 (patch)
treec707071b09c935d5a5761bb8ba5b470fdd1bb67d /v4l/scripts/make_makefile.pl
parent8ed7b8223378e40620c98d03d8ab2102dfab33a0 (diff)
downloadmediapointer-dvb-s2-6cfc8eeff6261fb1153a67e5bc3c71616f332044.tar.gz
mediapointer-dvb-s2-6cfc8eeff6261fb1153a67e5bc3c71616f332044.tar.bz2
Some improvements at the building system
From: Mauro Carvalho Chehab <mchehab@infradead.org> Building system now looks kernel config.h and autoconf.h files, seeking for the compiled options at kernel. If something is missing, it will disable compilation for that driver, printing a warning message. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts/make_makefile.pl')
-rwxr-xr-xv4l/scripts/make_makefile.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l/scripts/make_makefile.pl b/v4l/scripts/make_makefile.pl
index f0d9aef7f..e0a099e9b 100755
--- a/v4l/scripts/make_makefile.pl
+++ b/v4l/scripts/make_makefile.pl
@@ -1,6 +1,7 @@
#!/usr/bin/perl
use FileHandle;
+my $kernel=shift;
my $instdir = ();
sub check_line($$$)
@@ -181,5 +182,5 @@ if (open IN,"Makefile.media") {
if (open IN,".myconfig") {
close IN;
} else {
- system "./scripts/make_kconfig.pl 1";
+ system "./scripts/make_kconfig.pl $kernel 1";
}