arm-frc-linux-gnueabi-binutils: init at 2.28
This commit is contained in:
parent
7c32b93c9a
commit
1d7a478c92
50
pkgs/development/tools/misc/arm-frc-linux-gnueabi-binutils/default.nix
Executable file
50
pkgs/development/tools/misc/arm-frc-linux-gnueabi-binutils/default.nix
Executable 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;
|
||||||
|
};
|
||||||
|
}
|
@ -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-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 { };
|
arp-scan = callPackage ../tools/misc/arp-scan { };
|
||||||
|
|
||||||
artyFX = callPackage ../applications/audio/artyFX {};
|
artyFX = callPackage ../applications/audio/artyFX {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user