Skip to content

Commit

Permalink
arm-frc-linux-gnueabi-binutils: init at 2.28
Browse files Browse the repository at this point in the history
  • Loading branch information
colescott authored and Mic92 committed Apr 8, 2017
1 parent 7c32b93 commit 1d7a478
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 {};
Expand Down

0 comments on commit 1d7a478

Please sign in to comment.