add sparc-linux

svn path=/nixpkgs/trunk/; revision=4471
This commit is contained in:
Armijn Hemel 2005-12-31 16:28:49 +00:00
parent 05ab87c7e1
commit cca5dc0b57

View File

@ -15,9 +15,10 @@ installPhase() {
#ln -s asm-arm asm
if test $cross = "arm-linux"; then
arch=arm
else if test $cross = "mips-linux"; then
elif test $cross = "mips-linux"; then
arch=mips
fi
elif test $cross = "sparc-linux"; then
arch=sparc
fi
make include/asm ARCH=$arch
cp -prvd include/linux include/asm include/asm-$arch include/asm-generic $out/include