xr819-firmware: add firmware for xradio xr-819 wlan

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2018-03-25 13:27:03 +02:00
parent 0a21d63f26
commit 37b86fa99b
3 changed files with 77 additions and 0 deletions

View File

@@ -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

72
lfs/xr819-firmware Normal file
View File

@@ -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)

View File

@@ -1045,6 +1045,7 @@ buildipfire() {
lfsmake2 which
lfsmake2 linux-firmware
lfsmake2 dvb-firmwares
lfsmake2 xr819-firmware
lfsmake2 zd1211-firmware
lfsmake2 rpi-firmware
lfsmake2 bc