mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
More changes beyond stdenv-linux for the fuloong2f platform
svn path=/nixpkgs/branches/stdenv-updates/; revision=22973
This commit is contained in:
parent
b7f47c7f49
commit
8783e812b5
|
@ -2,7 +2,8 @@ let lists = import ./lists.nix; in
|
|||
|
||||
rec {
|
||||
gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */
|
||||
linux = ["i686-linux" "x86_64-linux" "powerpc-linux" "armv5tel-linux" ];
|
||||
linux = ["i686-linux" "x86_64-linux" "powerpc-linux" "armv5tel-linux"
|
||||
"ict_loongson-2_v0.3_fpu_v0.1-linux"];
|
||||
darwin = ["i686-darwin" "powerpc-darwin" "x86_64-darwin"];
|
||||
freebsd = ["i686-freebsd" "x86_64-freebsd" "powerpc-freebsd"];
|
||||
openbsd = ["i686-openbsd" "x86_64-openbsd"];
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
}:
|
||||
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
|
||||
|| stdenv.system == "armv5tel-linux";
|
||||
|| stdenv.system == "armv5tel-linux" || stdenv.system == "ict_loongson-2_v0.3_fpu_v0.1-linux";
|
||||
|
||||
assert stdenv.platform.name == "sheevaplug" -> stdenv.platform.uboot != null;
|
||||
|
||||
|
@ -96,6 +96,7 @@ stdenv.mkDerivation {
|
|||
if stdenv.system == "i686-linux" then "i386" else
|
||||
if stdenv.system == "x86_64-linux" then "x86_64" else
|
||||
if stdenv.system == "armv5tel-linux" then "arm" else
|
||||
if stdenv.system == "ict_loongson-2_v0.3_fpu_v0.1-linux" then "mips" else
|
||||
abort "Platform ${stdenv.system} is not supported.";
|
||||
|
||||
crossAttrs = let
|
||||
|
|
|
@ -203,5 +203,6 @@ rec {
|
|||
FUSE_FS m
|
||||
'';
|
||||
kernelTarget = "vmlinux";
|
||||
uboot = null;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue