summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-02-08 14:00:52 -0800
committerRichard Purdie <rpurdie@linux.intel.com>2011-02-09 22:44:52 +0000
commit8d1b4fe2876f04ae7d5bb4818654d98f1afef91e (patch)
tree3708cf288141ea5e0421c36988df745f11be159a
parentd0eb6794d964aa5ac938533a222c39bef09fd945 (diff)
downloadpoky-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.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 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
82do_install_prepend() { 82do_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