~ruther/guix-local

ref: 1a1558e88f1f119be9dca28dac0bf554bc6aa171 guix-local/gnu/packages/patches/ath9k-htc-firmware-objcopy.patch -rw-r--r-- 538 bytes
1a1558e8 — Marius Bakke gnu: postgresql: Update to 9.6.4 [fixes CVE-2017-{7546,7547,7548}]. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
The firmware is cross-compiled, but the build system ends up using
'objcopy' instead of 'xtensa-elf-objcopy' by default.  Force it to
use the right one.

--- source/target_firmware/configure	2014-10-28 20:57:26.834436561 +0100
+++ source/target_firmware/configure	2014-10-28 20:57:29.666436530 +0100
@@ -11,6 +11,7 @@ mkdir -p build
 cat > "$TOOLCHAIN_FILE" <<EOF
 INCLUDE(CMakeForceCompiler)
 
+SET(CMAKE_OBJCOPY xtensa-elf-objcopy)
 SET(CMAKE_SYSTEM_PROCESSOR xtensa)
 SET(CMAKE_FIND_ROOT_PATH ${TOOLCHAIN}/$TARGET)
 SET(CMAKE_STRIP :)