add for powerpc, switch to 2.6.14.5 (don't panic, this is a seperate branch)
svn path=/nixpkgs/trunk/; revision=4476
This commit is contained in:
parent
4655f9a723
commit
c2115654b9
@ -19,6 +19,10 @@ installPhase() {
|
|||||||
arch=mips
|
arch=mips
|
||||||
elif test $cross = "sparc-linux"; then
|
elif test $cross = "sparc-linux"; then
|
||||||
arch=sparc
|
arch=sparc
|
||||||
|
elif test $cross = "powerpc-linux"; then
|
||||||
|
arch=ppc
|
||||||
|
elif test $cross = "ppc-linux"; then
|
||||||
|
arch=ppc
|
||||||
fi
|
fi
|
||||||
make include/asm ARCH=$arch
|
make include/asm ARCH=$arch
|
||||||
cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include
|
cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
assert stdenv.system == "i686-linux";
|
assert stdenv.system == "i686-linux";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "linux-headers-2.6.13.4";
|
name = "linux-headers-2.6.14.5";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.13.4.tar.bz2;
|
url = ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.5.tar.bz2;
|
||||||
md5 = "94768d7eef90a9d8174639b2a7d3f58d";
|
md5 = "9f057e3bd31c50dc48553def01bc8037";
|
||||||
};
|
};
|
||||||
inherit cross;
|
inherit cross;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user