diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-02-08 14:00:52 -0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-02-09 22:44:52 +0000 |
commit | 8d1b4fe2876f04ae7d5bb4818654d98f1afef91e (patch) | |
tree | 3708cf288141ea5e0421c36988df745f11be159a /meta | |
parent | d0eb6794d964aa5ac938533a222c39bef09fd945 (diff) | |
download | openembedded-core-8d1b4fe2876f04ae7d5bb4818654d98f1afef91e.tar.gz openembedded-core-8d1b4fe2876f04ae7d5bb4818654d98f1afef91e.tar.bz2 openembedded-core-8d1b4fe2876f04ae7d5bb4818654d98f1afef91e.zip |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux.inc b/meta/recipes-kernel/linux/linux.inc index 3db2e3df5b..f0b47da8df 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 |