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:
parent
d0eb6794d9
commit
8d1b4fe287
|
@ -80,7 +80,7 @@ do_configure_prepend() {
|
||||||
|
|
||||||
|
|
||||||
do_install_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
|
ln -f arch/${ARCH}/boot/Image arch/${ARCH}/boot/uImage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue