Adding uboot cross compilation. I had to adapt the package a bit, because it
does not use autotools. svn path=/nixpkgs/branches/stdenv-updates/; revision=18362
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
assert stdenv.system == "armv5tel-linux";
|
||||
# assert stdenv.system == "armv5tel-linux";
|
||||
|
||||
# All this file is made for the Marvell Sheevaplug
|
||||
|
||||
@@ -34,7 +34,11 @@ stdenv.mkDerivation {
|
||||
|
||||
buildPhase = ''
|
||||
unset src
|
||||
make clean all
|
||||
if test -z "$crossTarget"; then
|
||||
make clean all
|
||||
else
|
||||
make clean all ARCH=arm CROSS_COMPILE=$crossTarget-
|
||||
fi
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
Reference in New Issue
Block a user