diff options
author | Armijn Hemel | 2005-12-31 03:46:20 +0000 |
---|---|---|
committer | Armijn Hemel | 2005-12-31 03:46:20 +0000 |
commit | 8b10549f2ec93f497bbbf6ddacd64b797b787774 (patch) | |
tree | 3c33eb63264389356a6e8b3d75762a43e1d124d7 /pkgs/development | |
parent | fec867b5f29fbfb4f3485d4eaba7f56ca38c0de8 (diff) |
move binutils-arm to binutils-cross. Also, add binutils for mips-linux in a
more generic way. Still, there is a lot of room for improvement. svn path=/nixpkgs/trunk/; revision=4458
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/misc/binutils-cross/builder.sh (renamed from pkgs/development/tools/misc/binutils-arm/builder.sh) | 0 | ||||
-rw-r--r-- | pkgs/development/tools/misc/binutils-cross/default.nix (renamed from pkgs/development/tools/misc/binutils-arm/default.nix) | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/misc/binutils-arm/builder.sh b/pkgs/development/tools/misc/binutils-cross/builder.sh index 788effe9b240..788effe9b240 100644 --- a/pkgs/development/tools/misc/binutils-arm/builder.sh +++ b/pkgs/development/tools/misc/binutils-cross/builder.sh diff --git a/pkgs/development/tools/misc/binutils-arm/default.nix b/pkgs/development/tools/misc/binutils-cross/default.nix index 580e87e5ac22..ae758611fff1 100644 --- a/pkgs/development/tools/misc/binutils-arm/default.nix +++ b/pkgs/development/tools/misc/binutils-cross/default.nix @@ -1,12 +1,12 @@ -{stdenv, fetchurl, noSysDirs}: +{stdenv, fetchurl, noSysDirs, cross}: stdenv.mkDerivation { - name = "binutils-2.16.1-arm"; + name = "binutils-2.16.1"; builder = ./builder.sh; src = fetchurl { url = http://ftp.nluug.nl/gnu/binutils/binutils-2.16.1.tar.bz2; md5 = "6a9d529efb285071dad10e1f3d2b2967"; }; inherit noSysDirs; - configureFlags = "--target=arm-linux"; + configureFlags = if cross=="arm-linux" then "--target=arm-linux" else if cross=="mips-linux" then "--target=mips-linux" else ""; } |