summaryrefslogtreecommitdiff
path: root/libre/ath9k-htc-firmware/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-20 03:34:20 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-20 03:34:20 +0000
commit2f8045ba14153d1665148e3cff527ce4f6bf66e5 (patch)
tree637a66d43f28d341e0504c3c75fea27e4e490312 /libre/ath9k-htc-firmware/PKGBUILD
parent322e623017947f32cb26db4c80f8eec2c5736401 (diff)
Thu Feb 20 03:30:17 UTC 2014
Diffstat (limited to 'libre/ath9k-htc-firmware/PKGBUILD')
-rw-r--r--libre/ath9k-htc-firmware/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD
index 172cb97b3..b47b95e0e 100644
--- a/libre/ath9k-htc-firmware/PKGBUILD
+++ b/libre/ath9k-htc-firmware/PKGBUILD
@@ -1,9 +1,10 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
-# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# Contributor: Taro <taro-k@movasense.com>
pkgname=ath9k-htc-firmware
pkgver=1.3.2
-pkgrel=3
+pkgrel=4
pkgdesc='Free firmware files for the Qualcomm Atheros AR7010 and AR9271 USB 802.11n NICs'
arch=('any')
url=('http://wireless.kernel.org/en/users/Drivers/ath9k_htc')
@@ -16,6 +17,9 @@ md5sums=('73c66751151dd47535cb4142477da480'
prepare() {
+ mkdir -p $srcdir/bin
+ ln -s /usr/bin/xtensa-unknown-elf-as $srcdir/bin/as
+ export PATH=$srcdir/bin:$PATH
cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware
mkdir -p build/{k2,magpie}
@@ -35,6 +39,7 @@ INCLUDE(CMakeForceCompiler)
SET(CMAKE_SYSTEM_PROCESSOR xtensa)
SET(COMPILER_PREFIX "xtensa-unknown-elf")
SET(CMAKE_FIND_ROOT_PATH /usr/xtensa-unknown-elf)
+SET(CMAKE_OBJCOPY /usr/bin/xtensa-unknown-elf-objcopy)
CMAKE_FORCE_C_COMPILER(/usr/bin/xtensa-unknown-elf-gcc GNU)
EOF