summaryrefslogtreecommitdiff
path: root/cross/xtensa-unknown-elf-gcc
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-10 22:36:47 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-10 22:36:47 -0300
commit1f6b0107dfa00f4051bd572807629702142e997f (patch)
tree45cad1013af7dde1664ea94e6ab9b474e07ebe5f /cross/xtensa-unknown-elf-gcc
parent02cf852ce456d02931638113ededb875aed249e0 (diff)
downloadabslibre-1f6b0107dfa00f4051bd572807629702142e997f.tar.gz
abslibre-1f6b0107dfa00f4051bd572807629702142e997f.tar.bz2
abslibre-1f6b0107dfa00f4051bd572807629702142e997f.zip
xtensa-unknown-elf-{binutils,gcc}: add ath9k_htc patch
Diffstat (limited to 'cross/xtensa-unknown-elf-gcc')
-rw-r--r--cross/xtensa-unknown-elf-gcc/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/cross/xtensa-unknown-elf-gcc/PKGBUILD b/cross/xtensa-unknown-elf-gcc/PKGBUILD
index 270dc6299..76328723c 100644
--- a/cross/xtensa-unknown-elf-gcc/PKGBUILD
+++ b/cross/xtensa-unknown-elf-gcc/PKGBUILD
@@ -7,9 +7,9 @@ _pkgname=gcc
_target="xtensa-unknown-elf"
_sysroot="/usr/$CHOST/${_target}"
-pkgname=${_target}-gcc
+pkgname=${_target}-${_pkgname}
pkgver=4.8.1
-pkgrel=1.2
+pkgrel=1.3
pkgdesc="The GNU Compiler Collection for the Xtensa architecture"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -17,14 +17,20 @@ url="http://gcc.gnu.org"
makedepends=("${_target}-binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen')
checkdepends=('dejagnu' 'inetutils')
options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
-md5sums=('3b2386c114cd74185aa3754b58a79304')
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
+ https://raw.github.com/qca/open-ath9k-htc-firmware/1.3.2/local/patches/gcc.patch)
+
+md5sums=('3b2386c114cd74185aa3754b58a79304'
+ '81372ee980289a9f6df01dad31c64a63')
_basedir=gcc-${pkgver}
prepare() {
cd ${srcdir}/${_basedir}
+ # open-ath9k-htc-firmware patch
+ patch -p1 -i ${srcdir}/gcc.patch
+
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in