linux.inc: try harder to find a kernel image in arch/<foo>/*
authorKoen Kooi <koen@openembedded.org>
Tue, 16 Oct 2007 09:15:04 +0000 (09:15 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 16 Oct 2007 09:15:04 +0000 (09:15 +0000)
packages/linux/linux.inc

index 2c267fb..6568049 100644 (file)
@@ -106,6 +106,10 @@ do_install_prepend() {
         if test -e arch/${ARCH}/boot/images/uImage ; then
              ln -f arch/${ARCH}/boot/images/uImage arch/${ARCH}/boot/uImage
         fi
+
+        if test -e arch/${ARCH}/kernel/vmlinux.lds ; then
+             ln -f arch/${ARCH}/kernel/vmlinux.lds arch/${ARCH}/boot/vmlinux
+        fi
 }
 
 UBOOT_ENTRYPOINT ?= "20008000"