From 6c4eff05120545226591a5dc0ae52d8b99b83da0 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Fri, 9 Dec 2011 15:39:08 +0100 Subject: [PATCH] fw_ath9k_htc: updated firmware to 1.3. --- config/rootfiles/common/fw_ath9k_htc | 2 + .../rootfiles/core/54/filelists/fw_ath9k_htc | 1 + lfs/fw_ath9k_htc | 75 +++++++++++++++++++ make.sh | 1 + 4 files changed, 79 insertions(+) create mode 100644 config/rootfiles/common/fw_ath9k_htc create mode 120000 config/rootfiles/core/54/filelists/fw_ath9k_htc create mode 100644 lfs/fw_ath9k_htc diff --git a/config/rootfiles/common/fw_ath9k_htc b/config/rootfiles/common/fw_ath9k_htc new file mode 100644 index 0000000000..a841a113e1 --- /dev/null +++ b/config/rootfiles/common/fw_ath9k_htc @@ -0,0 +1,2 @@ +lib/firmware/htc_7010.fw +lib/firmware/htc_9271.fw diff --git a/config/rootfiles/core/54/filelists/fw_ath9k_htc b/config/rootfiles/core/54/filelists/fw_ath9k_htc new file mode 120000 index 0000000000..098408d935 --- /dev/null +++ b/config/rootfiles/core/54/filelists/fw_ath9k_htc @@ -0,0 +1 @@ +../../../common/fw_ath9k_htc \ No newline at end of file diff --git a/lfs/fw_ath9k_htc b/lfs/fw_ath9k_htc new file mode 100644 index 0000000000..ebd686e3bb --- /dev/null +++ b/lfs/fw_ath9k_htc @@ -0,0 +1,75 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2011 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 = 1.3 + +THISAPP = fw_ath9k_htc-$(VER) +DL_FILE = $(THISAPP).tar.xz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 6e83c7d87007e3edd700034990cccd61 + +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) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && cp -v htc*.fw /lib/firmware + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index f59678d71a..3271a9e63d 100755 --- a/make.sh +++ b/make.sh @@ -364,6 +364,7 @@ buildipfire() { ipfiremake xz ipfiremake linux-firmware ipfiremake zd1211-firmware + ipfiremake fw_ath9k_htc ipfiremake u-boot # The xen and PAE kernels are only available for x86 -- 2.39.2