From 37b86fa99bde0c79fe45ffaf90732c9b6025b7b9 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 25 Mar 2018 13:27:03 +0200 Subject: [PATCH] xr819-firmware: add firmware for xradio xr-819 wlan Signed-off-by: Arne Fitzenreiter --- .../rootfiles/common/armv5tel/xr819-firmware | 4 ++ lfs/xr819-firmware | 72 +++++++++++++++++++ make.sh | 1 + 3 files changed, 77 insertions(+) create mode 100644 config/rootfiles/common/armv5tel/xr819-firmware create mode 100644 lfs/xr819-firmware diff --git a/config/rootfiles/common/armv5tel/xr819-firmware b/config/rootfiles/common/armv5tel/xr819-firmware new file mode 100644 index 0000000000..84de5cbc30 --- /dev/null +++ b/config/rootfiles/common/armv5tel/xr819-firmware @@ -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 index 0000000000..734a81f8eb --- /dev/null +++ b/lfs/xr819-firmware @@ -0,0 +1,72 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team # +# # +# 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 . # +# # +############################################################################### + +############################################################################### +# 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 b5c5135781..a41db54136 100755 --- a/make.sh +++ b/make.sh @@ -1045,6 +1045,7 @@ buildipfire() { lfsmake2 which lfsmake2 linux-firmware lfsmake2 dvb-firmwares + lfsmake2 xr819-firmware lfsmake2 zd1211-firmware lfsmake2 rpi-firmware lfsmake2 bc -- 2.39.2