]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
xr819-firmware: add firmware for xradio xr-819 wlan
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 25 Mar 2018 11:27:03 +0000 (13:27 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 25 Mar 2018 11:27:03 +0000 (13:27 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/common/armv5tel/xr819-firmware [new file with mode: 0644]
lfs/xr819-firmware [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/common/armv5tel/xr819-firmware b/config/rootfiles/common/armv5tel/xr819-firmware
new file mode 100644 (file)
index 0000000..84de5cb
--- /dev/null
@@ -0,0 +1,4 @@
+#lib/firmware/xr819
+lib/firmware/xr819/boot_xr819.bin
+lib/firmware/xr819/fw_xr819.bin
+lib/firmware/xr819/sdd_xr819.bin
diff --git a/lfs/xr819-firmware b/lfs/xr819-firmware
new file mode 100644 (file)
index 0000000..734a81f
--- /dev/null
@@ -0,0 +1,72 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2018  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        = c01.08.0043
+THISAPP    = xr819-firmware-$(VER)
+DL_FILE    = $(THISAPP).tar.xz
+DL_FROM    = $(URL_IPFIRE)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = b75463ca4649a5b11a5a18e8c8ff8908
+
+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/xr819
+       @cd /lib/firmware/xr819 && tar axf $(DIR_DL)/$(DL_FILE)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index b5c5135781443d03101d8d0c6f29efbc4ab3042f..a41db5413659bd82952ca780751bf860d53be183 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1045,6 +1045,7 @@ buildipfire() {
   lfsmake2 which
   lfsmake2 linux-firmware
   lfsmake2 dvb-firmwares
   lfsmake2 which
   lfsmake2 linux-firmware
   lfsmake2 dvb-firmwares
+  lfsmake2 xr819-firmware
   lfsmake2 zd1211-firmware
   lfsmake2 rpi-firmware
   lfsmake2 bc
   lfsmake2 zd1211-firmware
   lfsmake2 rpi-firmware
   lfsmake2 bc