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

View file

@ -68,7 +68,8 @@ installPhase() {
if test "$arch" = um; then
ensureDir $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
fi