diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-02 14:41:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-02 14:41:33 -0300 |
commit | f34851123884f689e1784afd725db5f99cd5958a (patch) | |
tree | bf47a0de26bdfdcd11073a836197d362d35c5cf8 /v4l/scripts/make_kconfig.pl | |
parent | f259d888c51373290668502055ab8b10e62f9110 (diff) | |
parent | c3c47fd1bb07ca6c9e79e921396ae540ebf636b9 (diff) | |
download | mediapointer-dvb-s2-f34851123884f689e1784afd725db5f99cd5958a.tar.gz mediapointer-dvb-s2-f34851123884f689e1784afd725db5f99cd5958a.tar.bz2 |
merge: from mchehab
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts/make_kconfig.pl')
-rwxr-xr-x | v4l/scripts/make_kconfig.pl | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl index b65037edf..9b2a1600f 100755 --- a/v4l/scripts/make_kconfig.pl +++ b/v4l/scripts/make_kconfig.pl @@ -26,10 +26,6 @@ sub process_config ($) open $in,"$kernel/include/$filename" or die "File not found: $kernel/include/$filename"; while (<$in>) { - if (m|\#include\s+\<(.*)\>|) { - process_config ($1); - next; - } if (m/\#define\s+CONFIG_([^ ]*)_ON_SMP\s+(.*)\n/) { my $key=$1; my $value=$2; @@ -229,10 +225,10 @@ sub open_kconfig($$) { open_kconfig($dir,"$dir/$1"); next; } - if (m|^\s+depends on\s+(.*)\n|) { + if (m|^\s+depends on\s+(.+?)\s*$|) { check_deps ($key,$1); } - if (m|^\s+select\s+(.*)\n|) { + if (m|^\s+select\s+(.+?)\s*(if .*?)?\s*$|) { check_deps ($key,$1); } if (m|^\s+bool(ean)?\s|) { @@ -333,7 +329,7 @@ sub cmp_ver($$) return $v1_sublevel <=> $v2_sublevel; } -process_config("linux/config.h"); +process_config("linux/autoconf.h"); parse_versions; @@ -398,13 +394,14 @@ close OUT; # These options should default to off disable_config('DVB_AV7110_FIRMWARE'); disable_config('DVB_CINERGYT2_TUNING'); +disable_config('DVB_FE_CUSTOMISE'); # Hack for check sound/oss/aci.h header my $mirodep="$kernel/sound/oss/aci.h"; -if (!open IN, $mirodep) { +if (! -e $mirodep) { my $key="RADIO_MIROPCM20"; -print <<"EOF2"; + print <<"EOF2"; $key: $mirodep is missing. ***WARNING:*** You do not have the full kernel sources installed. @@ -427,7 +424,6 @@ Please see your distro's web site for instructions to build a new kernel. EOF2 $kernopts{$key}='n'; } -close IN; # Recursively check for broken dependencies my $i; |