diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-21 12:23:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-21 12:23:13 -0300 |
commit | 6cfc8eeff6261fb1153a67e5bc3c71616f332044 (patch) | |
tree | c707071b09c935d5a5761bb8ba5b470fdd1bb67d /v4l/scripts/make_makefile.pl | |
parent | 8ed7b8223378e40620c98d03d8ab2102dfab33a0 (diff) | |
download | mediapointer-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-x | v4l/scripts/make_makefile.pl | 3 |
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"; } |