diff options
Diffstat (limited to 'libre/ath9k-htc-firmware/PKGBUILD')
-rw-r--r-- | libre/ath9k-htc-firmware/PKGBUILD | 7 |
1 files changed, 6 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 |