mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 16:34:15 +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;
|
kernelTarget = stdenv.platform.kernelTarget;
|
||||||
autoModules = stdenv.platform.kernelAutoModules;
|
autoModules = stdenv.platform.kernelAutoModules;
|
||||||
|
|
||||||
|
# Should we trust platform.kernelArch? We can only do
|
||||||
|
# that once we differentiate i686/x86_64 in platforms.
|
||||||
arch =
|
arch =
|
||||||
if xen then "xen" else
|
if xen then "xen" else
|
||||||
if userModeLinux then "um" else
|
if userModeLinux then "um" else
|
||||||
if stdenv.system == "i686-linux" then "i386" else
|
if stdenv.system == "i686-linux" then "i386" else
|
||||||
if stdenv.system == "x86_64-linux" then "x86_64" 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.";
|
abort "Platform ${stdenv.system} is not supported.";
|
||||||
|
|
||||||
crossAttrs = let
|
crossAttrs = let
|
||||||
|
Loading…
Reference in New Issue
Block a user