summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-kernel/linux/linux.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux.inc b/meta/recipes-kernel/linux/linux.inc
index 3db2e3df5..f0b47da8d 100644
--- a/meta/recipes-kernel/linux/linux.inc
+++ b/meta/recipes-kernel/linux/linux.inc
@@ -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