summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/Documentation/dvb/get_dvb_firmware8
-rw-r--r--v4l/Makefile19
-rwxr-xr-xv4l/scripts/make_noconfig.pl4
3 files changed, 25 insertions, 6 deletions
diff --git a/linux/Documentation/dvb/get_dvb_firmware b/linux/Documentation/dvb/get_dvb_firmware
index 15fc8fbef..4820366b6 100644
--- a/linux/Documentation/dvb/get_dvb_firmware
+++ b/linux/Documentation/dvb/get_dvb_firmware
@@ -259,9 +259,9 @@ sub dibusb {
}
sub nxt2002 {
- my $sourcefile = "Broadband4PC_4_2_11.zip";
+ my $sourcefile = "Technisat_DVB-PC_4_4_COMPACT.zip";
my $url = "http://www.bbti.us/download/windows/$sourcefile";
- my $hash = "c6d2ea47a8f456d887ada0cfb718ff2a";
+ my $hash = "476befae8c7c1bb9648954060b1eec1f";
my $outfile = "dvb-fe-nxt2002.fw";
my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
@@ -269,8 +269,8 @@ sub nxt2002 {
wgetfile($sourcefile, $url);
unzip($sourcefile, $tmpdir);
- verify("$tmpdir/SkyNETU.sys", $hash);
- extract("$tmpdir/SkyNETU.sys", 375832, 5908, $outfile);
+ verify("$tmpdir/SkyNET.sys", $hash);
+ extract("$tmpdir/SkyNET.sys", 331624, 5908, $outfile);
$outfile;
}
diff --git a/v4l/Makefile b/v4l/Makefile
index e932eeb65..c74019f45 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -217,17 +217,27 @@ reload::
#################################################
# Configuration rules
+# SHELL used by kbuild
+CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
+ else if [ -x /bin/bash ]; then echo /bin/bash; \
+ else echo sh; fi ; fi)
+
+build := srctree=$(KDIR) HOSTCXX=$(CXX) HOSTCC=$(CC) CONFIG_SHELL=$(CONFIG_SHELL) -f $(KDIR)/scripts/Makefile.build obj
+
xconfig:: links .version
+ $(MAKE) -C $(KDIR) $(build)=scripts/kconfig qconf-target=1 scripts/kconfig/qconf
./scripts/make_kconfig.pl
$(KDIR)/scripts/kconfig/qconf Kconfig
./scripts/make_noconfig.pl
gconfig:: links .version
+ $(MAKE) -C $(KDIR) $(build)=scripts/kconfig scripts/kconfig/gconf
./scripts/make_kconfig.pl
$(KDIR)/scripts/kconfig/gconf Kconfig
./scripts/make_noconfig.pl
config:: links .version
+ $(MAKE) -C $(KDIR) $(build)=scripts/kconfig scripts/kconfig/conf
./scripts/make_kconfig.pl
$(KDIR)/scripts/kconfig/conf Kconfig
./scripts/make_noconfig.pl
@@ -236,17 +246,24 @@ menuconfig:: links .version
./scripts/make_kconfig.pl
-rm scripts/lxdialog scripts/kconfig
-if [ -d $(KDIR)/scripts/lxdialog ]; then \
+ $(MAKE) -C $(KDIR) $(build)=scripts/lxdialog; \
ln -s $(KDIR)/scripts/lxdialog scripts/lxdialog; \
fi
-if [ -d $(KDIR)/scripts/kconfig ]; then \
+ if [ -d $(KDIR)/scripts/kconfig/lxdialog ]; then \
+ $(MAKE) -C $(KDIR) $(build)=scripts/kconfig/lxdialog; \
+ else \
+ $(MAKE) -C $(KDIR) $(build)=scripts/kconfig scripts/kconfig/mconf; \
+ fi; \
ln -s $(KDIR)/scripts/kconfig scripts/kconfig; \
fi
$(KDIR)/scripts/kconfig/mconf Kconfig
./scripts/make_noconfig.pl
-allmodconfig:: links .version
+allyesconfig allmodconfig:: links .version
+ $(MAKE) -C $(KDIR) $(build)=scripts/kconfig scripts/kconfig/conf
./scripts/make_kconfig.pl
$(KDIR)/scripts/kconfig/conf -m Kconfig
cat .config|grep -v CONFIG_DVB_AV7110_FIRMWARE >.config.new
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;