]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
fw_ath9k_htc: updated firmware to 1.3.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 9 Dec 2011 14:39:08 +0000 (15:39 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 9 Dec 2011 14:39:08 +0000 (15:39 +0100)
config/rootfiles/common/fw_ath9k_htc [new file with mode: 0644]
config/rootfiles/core/54/filelists/fw_ath9k_htc [new symlink]
lfs/fw_ath9k_htc [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/common/fw_ath9k_htc b/config/rootfiles/common/fw_ath9k_htc
new file mode 100644 (file)
index 0000000..a841a11
--- /dev/null
@@ -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 (symlink)
index 0000000..098408d
--- /dev/null
@@ -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 (file)
index 0000000..ebd686e
--- /dev/null
@@ -0,0 +1,75 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2011  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        = 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 f59678d71a854c2f8926ba5edf4493a227190225..3271a9e63db776be8eec0c60c68a73b6c24058b7 100755 (executable)
--- 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