diff options
Diffstat (limited to 'v4l/scripts/make_kconfig.pl')
-rwxr-xr-x | v4l/scripts/make_kconfig.pl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl index 11392c32d..aebf2a950 100755 --- a/v4l/scripts/make_kconfig.pl +++ b/v4l/scripts/make_kconfig.pl @@ -14,7 +14,7 @@ sub add_bool($) my $arg=shift; $tristate{$arg}="bool"; - printf "Boolean:%s\n",$arg; +# printf "Boolean:%s\n",$arg; } sub add_tristate($) @@ -22,7 +22,7 @@ sub add_tristate($) my $arg=shift; $tristate{$arg}="tristate"; - printf "Tristate:%s\n",$arg; +# printf "Tristate:%s\n",$arg; } sub add_config($) @@ -154,7 +154,6 @@ print OUT "mainmenu \"V4L/DVB menu\"\n"; print OUT "source Kconfig.kern\n"; open_kconfig ("../linux","../linux/drivers/media/Kconfig"); - close OUT; while ( my ($key, $value) = each(%config) ) { @@ -173,6 +172,10 @@ close OUT; if (($force_kconfig eq 1) || !open IN,".config") { open OUT,">.config"; + while ( my ($key, $value) = each(%depend) ) { + printf "CONFIG_%s=m\n",$key; + printf OUT "CONFIG_%s=m\n",$key; + } while ( my ($key,$value) = each(%tristate) ) { if ($key eq "DVB_AV7110_FIRMWARE") { |