From ee1148d12a32988f3ae8c75f7c4a4b31883dc674 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 19 Mar 2016 12:46:38 +0100 Subject: [PATCH] ath10k-firmware: added Signed-off-by: Arne Fitzenreiter --- config/rootfiles/common/ath10k-firmware | 23 ++++++ .../core/100/filelists/ath10k-firmware | 1 + lfs/ath10k-firmware | 72 +++++++++++++++++++ make.sh | 1 + 4 files changed, 97 insertions(+) create mode 100644 config/rootfiles/common/ath10k-firmware create mode 120000 config/rootfiles/core/100/filelists/ath10k-firmware create mode 100644 lfs/ath10k-firmware diff --git a/config/rootfiles/common/ath10k-firmware b/config/rootfiles/common/ath10k-firmware new file mode 100644 index 0000000000..4f55cd507a --- /dev/null +++ b/config/rootfiles/common/ath10k-firmware @@ -0,0 +1,23 @@ +lib/firmware/LICENSE.QualcommAtheros_ath10k +#lib/firmware/ath10k +#lib/firmware/ath10k/QCA6174 +#lib/firmware/ath10k/QCA6174/hw2.1 +lib/firmware/ath10k/QCA6174/hw2.1/board.bin +lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin +lib/firmware/ath10k/QCA6174/hw2.1/notice_ath10k_firmware-5.txt +#lib/firmware/ath10k/QCA6174/hw3.0 +lib/firmware/ath10k/QCA6174/hw3.0/board.bin +lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin +lib/firmware/ath10k/QCA6174/hw3.0/notice_ath10k_firmware-4.txt +#lib/firmware/ath10k/QCA988X +#lib/firmware/ath10k/QCA988X/hw2.0 +lib/firmware/ath10k/QCA988X/hw2.0/board.bin +lib/firmware/ath10k/QCA988X/hw2.0/firmware-4.bin +lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin +lib/firmware/ath10k/QCA988X/hw2.0/notice_ath10k_firmware-4.txt +lib/firmware/ath10k/QCA988X/hw2.0/notice_ath10k_firmware-5.txt +#lib/firmware/ath10k/QCA99X0 +#lib/firmware/ath10k/QCA99X0/hw2.0 +lib/firmware/ath10k/QCA99X0/hw2.0/board.bin +lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin +lib/firmware/ath10k/QCA99X0/hw2.0/notice_ath10k_firmware-5.txt diff --git a/config/rootfiles/core/100/filelists/ath10k-firmware b/config/rootfiles/core/100/filelists/ath10k-firmware new file mode 120000 index 0000000000..e7e87c23bf --- /dev/null +++ b/config/rootfiles/core/100/filelists/ath10k-firmware @@ -0,0 +1 @@ +../../../common/ath10k-firmware \ No newline at end of file diff --git a/lfs/ath10k-firmware b/lfs/ath10k-firmware new file mode 100644 index 0000000000..cf01943cbb --- /dev/null +++ b/lfs/ath10k-firmware @@ -0,0 +1,72 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2016 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 = 20160319 + +THISAPP = ath10k-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 = 207fc1b8a9b74392952d6662df0c03d3 + +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) + @cd /lib/firmware && tar axf $(DIR_DL)/$(DL_FILE) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index a612afca22..ebce892ae7 100755 --- a/make.sh +++ b/make.sh @@ -400,6 +400,7 @@ buildipfire() { ipfiremake unzip ipfiremake which ipfiremake linux-firmware + ipfiremake ath10k-firmware ipfiremake dvb-firmwares ipfiremake zd1211-firmware ipfiremake rpi-firmware -- 2.39.5