linux.inc: don't overwrite an existing uImage

If a valid uImage exists, don't overwrite it with Image.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
Darren Hart
2011-02-08 14:00:52 -08:00
committed by Richard Purdie
parent d0eb6794d9
commit 8d1b4fe287

View File

@@ -80,7 +80,7 @@ do_configure_prepend() {
do_install_prepend() {
if test -e arch/${ARCH}/boot/Image ; then
if [ -f arch/${ARCH}/boot/Image ] && [ ! -f arch/${ARCH}/boot/uImage ]; then
ln -f arch/${ARCH}/boot/Image arch/${ARCH}/boot/uImage
fi