blob: 68a504a8abcf4e9ed0881b87d5b9e26960cce9a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|