summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-27 11:39:18 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-27 11:39:18 -0300
commit9402ad1c2d4e071cca1ff27727c5a0060d6a047c (patch)
treefd54ac1505143365cc851fad211272c8dd2db322 /v4l/scripts
parent366fa98a817c19558aaa09755a2ce12931a35f3d (diff)
parent1ddb193e59cc2b76550742b5099500b38bdf6668 (diff)
downloadmediapointer-dvb-s2-9402ad1c2d4e071cca1ff27727c5a0060d6a047c.tar.gz
mediapointer-dvb-s2-9402ad1c2d4e071cca1ff27727c5a0060d6a047c.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-xv4l/scripts/make_kconfig.pl11
1 files changed, 7 insertions, 4 deletions
diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl
index 11392c32d..1d1155af4 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,10 +172,14 @@ 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") {
- printf OUT "CONFIG_%s=n\n",$key;
+# printf OUT "CONFIG_%s=n\n",$key;
} else {
if ($value eq "tristate") {
printf OUT "CONFIG_%s=m\n",$key;