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 | |
parent | d0eb6794d964aa5ac938533a222c39bef09fd945 (diff) | |
download | poky-8d1b4fe2876f04ae7d5bb4818654d98f1afef91e.tar.gz |
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>
-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() { | |||
80 | 80 | ||
81 | 81 | ||
82 | do_install_prepend() { | 82 | do_install_prepend() { |
83 | if test -e arch/${ARCH}/boot/Image ; then | 83 | if [ -f arch/${ARCH}/boot/Image ] && [ ! -f arch/${ARCH}/boot/uImage ]; then |
84 | ln -f arch/${ARCH}/boot/Image arch/${ARCH}/boot/uImage | 84 | ln -f arch/${ARCH}/boot/Image arch/${ARCH}/boot/uImage |
85 | fi | 85 | fi |
86 | 86 | ||