mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
Allowing the kernel to build in the sheevaplug natively.
svn path=/nixpkgs/trunk/; revision=20284
This commit is contained in:
parent
18f667a954
commit
ef1918f200
@ -88,11 +88,14 @@ stdenv.mkDerivation {
|
||||
kernelTarget = stdenv.platform.kernelTarget;
|
||||
autoModules = stdenv.platform.kernelAutoModules;
|
||||
|
||||
# Should we trust platform.kernelArch? We can only do
|
||||
# that once we differentiate i686/x86_64 in platforms.
|
||||
arch =
|
||||
if xen then "xen" else
|
||||
if userModeLinux then "um" else
|
||||
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
|
||||
abort "Platform ${stdenv.system} is not supported.";
|
||||
|
||||
crossAttrs = let
|
||||
|
Loading…
Reference in New Issue
Block a user