From 1306b0b003a557105d3b27e44052db217c7283d3 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 11 Nov 2014 21:54:41 +0100 Subject: gnu: cross-base: Apply Qualcomm's patches for Binutils and GCC. This fixes compilation of the ath9k-htc firmware. Before that, loading it would result in "Target is unresponsive". The patches come from the ath9k-htc firmware source. * gnu/packages/patches/ath9k-htc-firmware-binutils.patch, gnu/packages/patches/ath9k-htc-firmware-gcc.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/cross-base.scm (package-with-patch): New procedure. (cross-binutils): Check whether TARGET starts with "xtensa-", and call 'package-with-patch' when it does. (cross-gcc-patches): New procedure. (cross-gcc): Use it to add patches. --- gnu-system.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu-system.am') diff --git a/gnu-system.am b/gnu-system.am index f11824e6d7..98041e02fa 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -311,6 +311,8 @@ dist_patch_DATA = \ gnu/packages/patches/abiword-wmf-version-lookup-fix.patch \ gnu/packages/patches/alsa-lib-mips-atomic-fix.patch \ gnu/packages/patches/apr-skip-getservbyname-test.patch \ + gnu/packages/patches/ath9k-htc-firmware-binutils.patch \ + gnu/packages/patches/ath9k-htc-firmware-gcc.patch \ gnu/packages/patches/ath9k-htc-firmware-objcopy.patch \ gnu/packages/patches/automake-skip-amhello-tests.patch \ gnu/packages/patches/avahi-localstatedir.patch \ -- cgit v1.2.3