summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2006-04-15 16:26:44 +0200
committerOliver Endriss <o.endriss@gmx.de>2006-04-15 16:26:44 +0200
commit7fcf69dab28d0e73c9c2bb5744b884001faddb09 (patch)
tree9741aceb7ccb3aeaf5e42c3383609b4b45bbe5a1
parent91263e7de241ee6403c43cd3a13206f749798ba6 (diff)
downloadmediapointer-dvb-s2-7fcf69dab28d0e73c9c2bb5744b884001faddb09.tar.gz
mediapointer-dvb-s2-7fcf69dab28d0e73c9c2bb5744b884001faddb09.tar.bz2
make_noconfig.pl fixed for CONFIG_DVB_AV7110_OSD and CONFIG_DVB_AV7110_FIRMWARE
From: Oliver Endriss <o.endriss@gmx.de> Without this fix, CONFIG_DVB_AV7110_OSD=y and CONFIG_DVB_AV7110_FIRMWARE=y were ignored in v4l/Makefile because make_noconfig.pl set them to "CONFIG_DVB_AV7110_... = m". Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
-rwxr-xr-xv4l/scripts/make_noconfig.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/v4l/scripts/make_noconfig.pl b/v4l/scripts/make_noconfig.pl
index a47ca4acf..94f80a954 100755
--- a/v4l/scripts/make_noconfig.pl
+++ b/v4l/scripts/make_noconfig.pl
@@ -55,7 +55,9 @@ close IN;
open OUT,">.myconfig";
while ( my ($key, $value) = each(%config) ) {
- if ($value eq "y") {
+ if ($key ne CONFIG_DVB_AV7110_OSD &&
+ $key ne CONFIG_DVB_AV7110_FIRMWARE &&
+ $value eq "y") {
$value="m";
}
printf OUT "%-44s := %s\n",$key,$value;