arm-frc-linux-gnueabi-binutils: init at 2.28

This commit is contained in:
Cole Scott 2017-04-08 02:11:52 +02:00 committed by Jörg Thalheim
parent 7c32b93c9a
commit 1d7a478c92
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{stdenv, fetchurl, glibc, bison, arm-frc-linux-gnueabi-eglibc}:
stdenv.mkDerivation rec {
_target = "arm-frc-linux-gnueabi";
version = "2.28";
name = "${_target}-binutils-${version}";
src = fetchurl {
url = "ftp://ftp.gnu.org/gnu/binutils/binutils-${version}.tar.bz2";
sha256 = "369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88";
};
nativeBuildInputs = [ bison arm-frc-linux-gnueabi-eglibc ];
buildInputs = [ glibc ];
configureFlags = ''
--target=${_target}
--with-pkgversion='GNU-Binutils-for-FRC'
--with-sysroot=$out/${_target}
--with-build-sysroot=/$out/${_target}
--disable-multilib
--disable-nls
--enable-lto
--disable-libiberty-install
--enable-ld
--enable-gold=default
--enable-plugins
'';
postConfigure = ''
make configure-host
'';
postInstall = ''
rm -rf $out/share/info
'';
meta = {
description = "FRC binutils";
longDescription = ''
binutils used to build arm-frc-linux-gnueabi and user programs.
'';
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.colescott ];
platforms = stdenv.lib.platforms.linux;
priority = 3;
};
}

View File

@ -448,6 +448,8 @@ with pkgs;
arm-frc-linux-gnueabi-linux-api-headers = callPackage ../development/libraries/arm-frc-linux-gnueabi-linux-api-headers {};
arm-frc-linux-gnueabi-binutils = callPackage ../development/tools/misc/arm-frc-linux-gnueabi-binutils {};
arp-scan = callPackage ../tools/misc/arp-scan { };
artyFX = callPackage ../applications/audio/artyFX {};