diff options
Diffstat (limited to 'libre/ath9k-htc-firmware')
-rw-r--r-- | libre/ath9k-htc-firmware/PKGBUILD | 9 | ||||
-rw-r--r-- | libre/ath9k-htc-firmware/fix.patch | 22 |
2 files changed, 5 insertions, 26 deletions
diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD index 18e67da95..1c358e085 100644 --- a/libre/ath9k-htc-firmware/PKGBUILD +++ b/libre/ath9k-htc-firmware/PKGBUILD @@ -2,16 +2,16 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> pkgname=ath9k-htc-firmware -pkgver=1.3.2 -pkgrel=10 +pkgver=1.4.0 +pkgrel=1 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') -license=('BSD') +license=('BSD3') makedepends=('cmake' 'xtensa-unknown-elf-binutils' 'xtensa-unknown-elf-gcc') source=("https://github.com/qca/open-ath9k-htc-firmware/archive/$pkgver.tar.gz" 'LICENSE') -md5sums=('73c66751151dd47535cb4142477da480' +md5sums=('503f75163649a7e52a64737991a41ca2' '5163b2711bc481c77045850610b7dd31') prepare() { @@ -28,6 +28,7 @@ build() { cd $srcdir/open-ath9k-htc-firmware-$pkgver export CTARGET="xtensa-unknown-elf" + export CC="xtensa-unknown-elf" export CFLAGS="-mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4 -fno-aggressive-loop-optimizations" export CXXFLAGS="${CFLAGS}" diff --git a/libre/ath9k-htc-firmware/fix.patch b/libre/ath9k-htc-firmware/fix.patch deleted file mode 100644 index 68a504a8a..000000000 --- a/libre/ath9k-htc-firmware/fix.patch +++ /dev/null @@ -1,22 +0,0 @@ -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 |