]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
dvb-firmwares: add some dvb-hardware binaries.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 25 Oct 2012 20:18:36 +0000 (22:18 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 25 Oct 2012 20:18:36 +0000 (22:18 +0200)
config/rootfiles/common/dvb-firmwares [new file with mode: 0644]
lfs/dvb-firmwares [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/common/dvb-firmwares b/config/rootfiles/common/dvb-firmwares
new file mode 100644 (file)
index 0000000..a6ba837
--- /dev/null
@@ -0,0 +1,22 @@
+lib/firmware/dvb-fe-bcm3510-01.fw
+lib/firmware/dvb-fe-or51132-qam.fw
+lib/firmware/dvb-fe-or51132-vsb.fw
+lib/firmware/dvb-fe-or51211.fw
+#lib/firmware/dvb-ttpci-01.fw-261a
+#lib/firmware/dvb-ttpci-01.fw-261b
+#lib/firmware/dvb-ttpci-01.fw-261c
+#lib/firmware/dvb-ttpci-01.fw-261d
+#lib/firmware/dvb-ttpci-01.fw-261f
+#lib/firmware/dvb-ttpci-01.fw-2622
+lib/firmware/dvb-usb-avertv-a800-02.fw
+lib/firmware/dvb-usb-bluebird-01.fw
+lib/firmware/dvb-usb-dibusb-5.0.0.11.fw
+lib/firmware/dvb-usb-dibusb-6.0.0.8.fw
+lib/firmware/dvb-usb-dtt200u-01.fw
+lib/firmware/dvb-usb-terratec-h7-az6007.fw
+lib/firmware/dvb-usb-terratec-h7-drxk.fw
+lib/firmware/dvb-usb-umt-010-02.fw
+lib/firmware/dvb-usb-vp702x-01.fw
+lib/firmware/dvb-usb-vp7045-01.fw
+lib/firmware/dvb-usb-wt220u-01.fw
+lib/firmware/dvb-usb-wt220u-02.fw
diff --git a/lfs/dvb-firmwares b/lfs/dvb-firmwares
new file mode 100644 (file)
index 0000000..724c46b
--- /dev/null
@@ -0,0 +1,75 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2012  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 20110802
+
+THISAPP    = dvb-firmwares-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/dvb-firmwares
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 330e19f9444a03f5338bab590ab9d728
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       mkdir -p /lib/firmware
+       tar axf $(DIR_DL)/$(DL_FILE) \
+               -C /lib/firmware/
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 0fe6cb48ac1114acc1f7dfc2621f8e09d298685a..781d477e060c96e04811c673c240c71a899ed247 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -372,6 +372,7 @@ buildipfire() {
   ipfiremake unzip
   ipfiremake which
   ipfiremake linux-firmware
+  ipfiremake dvb-firmwares
   ipfiremake zd1211-firmware
   ipfiremake rpi-firmware
   ipfiremake u-boot