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:
Armijn Hemel 2006-01-01 02:15:33 +00:00
parent 4655f9a723
commit c2115654b9
2 changed files with 7 additions and 3 deletions

View file

@ -19,6 +19,10 @@ installPhase() {
arch=mips
elif test $cross = "sparc-linux"; then
arch=sparc
elif test $cross = "powerpc-linux"; then
arch=ppc
elif test $cross = "ppc-linux"; then
arch=ppc
fi
make include/asm ARCH=$arch
cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include

View file

@ -3,11 +3,11 @@
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "linux-headers-2.6.13.4";
name = "linux-headers-2.6.14.5";
builder = ./builder.sh;
src = fetchurl {
url = http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.13.4.tar.bz2;
md5 = "94768d7eef90a9d8174639b2a7d3f58d";
url = ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.5.tar.bz2;
md5 = "9f057e3bd31c50dc48553def01bc8037";
};
inherit cross;
}