diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-19 18:40:40 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-19 18:40:40 -0200 |
commit | 5fdcec25415d3a00ba50c1359db56580c2f1f661 (patch) | |
tree | 084fb976acda4ae7613907b48a4f197aa84fbbbe /libre/ath9k-htc-firmware | |
parent | a174e53dd5fd3d8c6c315a84254c13fb49b4ea06 (diff) | |
download | abslibre-5fdcec25415d3a00ba50c1359db56580c2f1f661.tar.gz abslibre-5fdcec25415d3a00ba50c1359db56580c2f1f661.tar.bz2 abslibre-5fdcec25415d3a00ba50c1359db56580c2f1f661.zip |
ath9k-htc-firmware-1.3.2-4: add fixes on PKGBUILD made by Taro
Diffstat (limited to 'libre/ath9k-htc-firmware')
-rw-r--r-- | libre/ath9k-htc-firmware/PKGBUILD | 7 | ||||
-rw-r--r-- | libre/ath9k-htc-firmware/fix.patch | 22 |
2 files changed, 28 insertions, 1 deletions
diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD index 172cb97b3..b8e3c952b 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> +# 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 diff --git a/libre/ath9k-htc-firmware/fix.patch b/libre/ath9k-htc-firmware/fix.patch new file mode 100644 index 000000000..68a504a8a --- /dev/null +++ b/libre/ath9k-htc-firmware/fix.patch @@ -0,0 +1,22 @@ +diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD +index 172cb97..2a6af01 100644 +--- a/libre/ath9k-htc-firmware/PKGBUILD ++++ b/libre/ath9k-htc-firmware/PKGBUILD +@@ -16,6 +16,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 +38,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 |