summary refs log tree commit diff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-11 21:54:41 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-11 22:36:49 +0100
commit1306b0b003a557105d3b27e44052db217c7283d3 (patch)
tree37e1385ee79afd9495291a3898701fc57732f308 /gnu/system.scm
parent594340bc79586f6880231b52fc94d100309fec45 (diff)
downloadguix-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.scm')
0 files changed, 0 insertions, 0 deletions