From 76480b6b18868754fc95ff41d02885898c54367f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Tue, 17 Apr 2012 20:37:01 -0300 Subject: Updating the cross toolchain for mips64el Added patches from upstream and diff'ed with them. Binutils and linux-libre-api-headers are already built. GCC Core builts but `mips64el-unknown-linux-gnu-gcc -v dummy.c` fails because of missing -EL on i686-pc-linux-gnu-as. Exporting mips64el-...-binutils to the PATH solves the problem but mips64el-...-ld fails with missing crt*. No idea why target gcc decides to use the host as instead of the target one, since the PKGBUILD hasn't fundamentally changed. --- .../PKGBUILD | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 cross/mips64el-unknown-linux-gnu-linux-api-headers/PKGBUILD (limited to 'cross/mips64el-unknown-linux-gnu-linux-api-headers') diff --git a/cross/mips64el-unknown-linux-gnu-linux-api-headers/PKGBUILD b/cross/mips64el-unknown-linux-gnu-linux-api-headers/PKGBUILD deleted file mode 100644 index 277890098..000000000 --- a/cross/mips64el-unknown-linux-gnu-linux-api-headers/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# $Id: PKGBUILD 145918 2012-01-04 01:25:12Z allan $ -# Maintainer: Allan McRae - -# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc -export ARCH=mips -_target=mips64el-unknown-linux-gnu -_sysroot="/usr/${_target}" - -pkgname=${_target}-linux-api-headers -pkgver=3.1.6 -_basekernel=3.1 -pkgrel=2 -pkgdesc="Kernel headers sanitized for use in userspace" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/libc" -license=('GPL2') -source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-libre/linux-${_basekernel}-libre.tar.xz" - "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/patch-${_basekernel}-libre-${pkgver}-libre.xz") -md5sums=('d73df15ab1d36fe3c102755d8f42117f' - 'cb42276bca126c676c51d02d74bf7fe7') - -build() { - cd "${srcdir}/linux-${_basekernel}" - - if [ "${_basekernel}" != "${pkgver}" ]; then - patch -Np1 -i "${srcdir}/patch-${_basekernel}-libre-${pkgver}-libre" - fi - - make mrproper - make headers_check -} - -package() { - cd "${srcdir}/linux-${_basekernel}" - make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot}/usr headers_install -} -- cgit v1.2.3-2-g168b