diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-20 03:34:20 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-20 03:34:20 +0000 |
commit | 2f8045ba14153d1665148e3cff527ce4f6bf66e5 (patch) | |
tree | 637a66d43f28d341e0504c3c75fea27e4e490312 /libre | |
parent | 322e623017947f32cb26db4c80f8eec2c5736401 (diff) |
Thu Feb 20 03:30:17 UTC 2014
Diffstat (limited to 'libre')
-rw-r--r-- | libre/ath9k-htc-firmware/PKGBUILD | 9 | ||||
-rw-r--r-- | libre/ath9k-htc-firmware/fix.patch | 22 |
2 files changed, 29 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 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 |