Making the kernel builder accept the 'vmlinux' kerneltarget.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23274
This commit is contained in:
Lluís Batlle i Rossell 2010-08-20 13:30:59 +00:00
parent f8f53855d5
commit f7d0fcdaac
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ installPhase() {
if test "$arch" = um; then if test "$arch" = um; then
ensureDir $out/bin ensureDir $out/bin
cp linux $out/bin cp linux $out/bin
else elif test "$kernelTarget" != "vmlinux"; then
# In any case we copy the 'vmlinux' ELF in the next lines
cp arch/$archDir/boot/$kernelTarget $out cp arch/$archDir/boot/$kernelTarget $out
fi fi