diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-11-11 21:54:41 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-11-11 22:36:49 +0100 |
commit | 1306b0b003a557105d3b27e44052db217c7283d3 (patch) | |
tree | 37e1385ee79afd9495291a3898701fc57732f308 /gnu-system.am | |
parent | 594340bc79586f6880231b52fc94d100309fec45 (diff) | |
download | gnu-guix-1306b0b003a557105d3b27e44052db217c7283d3.tar gnu-guix-1306b0b003a557105d3b27e44052db217c7283d3.tar.gz |
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.
Diffstat (limited to 'gnu-system.am')
-rw-r--r-- | gnu-system.am | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ |