mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 10:54:02 +08:00
nix: fix and update binutils-or1k
This commit is contained in:
parent
57bd3e4109
commit
ac9dcb7497
@ -1,18 +1,21 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
{ stdenv, buildPackages
|
||||
, fetchurl, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
basename = "binutils";
|
||||
platform = "or1k";
|
||||
version = "2.26";
|
||||
version = "2.30";
|
||||
name = "${basename}_${platform}-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://ftp.gnu.org/gnu/binutils/${basename}-${version}.tar.bz2";
|
||||
sha256 = "1ngc2h3knhiw8s22l8y6afycfaxr5grviqy7mwvm4bsl14cf9b62";
|
||||
url = "https://ftp.gnu.org/gnu/binutils/binutils-${version}.tar.bz2";
|
||||
sha256 = "028cklfqaab24glva1ks2aqa1zxa6w6xmc8q34zs1sb7h22dxspg";
|
||||
};
|
||||
configureFlags =
|
||||
[ "--enable-shared" "--enable-deterministic-archives" "--target=or1k-linux"];
|
||||
outputs = [ "out" "info" "man" ];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
buildInputs = [ zlib ];
|
||||
enableParallelBuilding = true;
|
||||
meta = {
|
||||
description = "Tools for manipulating binaries (linker, assembler, etc.)";
|
||||
@ -29,4 +32,3 @@ stdenv.mkDerivation rec {
|
||||
priority = "10";
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user