All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mkuboot.sh: quit elegantly on not finding mkimage
@ 2007-05-09  0:17 nishanth menon
  2007-05-16 15:18 ` tony
  0 siblings, 1 reply; 4+ messages in thread
From: nishanth menon @ 2007-05-09  0:17 UTC (permalink / raw)
  To: Linux OMAP

[-- Attachment #1: Type: text/plain, Size: 230 bytes --]

Hi All,
A tiny patch: when mkimage is not found return 1 instead of 0. helps
to ensure that the make uImage fails if mkimage is not in path.

Could not find a vgers list for scripts.. hence posting here..

Regards,
Nishanth menon

[-- Attachment #2: 01-mkuboot.sh-quit-elegantly-on-not-finding-mkimage.patch --]
[-- Type: application/octet-stream, Size: 841 bytes --]

mkuboot.sh: quit elegantly on not finding mkimage

Signed-off-by: Nishanth Menon <menon.nishanth@gmail.com>

---
commit 4c97cdc4985a397cffaf48db2302802d043fbea8
tree 6359dcd6751118c5c05c5b87aa5deb92f9716356
parent d72e018b77f5b513ab05a59e02ac07260215f79c
author Nishanth Menon <menon.nishanth@gmail.com> Tue, 08 May 2007 18:56:05 -0500
committer Nishanth Menon <menon.nishanth@gmail.com> Tue, 08 May 2007 18:56:05 -0500

 scripts/mkuboot.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh
index 2e3d3cd..446739c 100755
--- a/scripts/mkuboot.sh
+++ b/scripts/mkuboot.sh
@@ -11,7 +11,7 @@ if [ -z "${MKIMAGE}" ]; then
 	if [ -z "${MKIMAGE}" ]; then
 		# Doesn't exist
 		echo '"mkimage" command not found - U-Boot images will not be built' >&2
-		exit 0;
+		exit 1;
 	fi
 fi
 

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-16 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09  0:17 [PATCH] mkuboot.sh: quit elegantly on not finding mkimage nishanth menon
2007-05-16 15:18 ` tony
2007-05-16 15:56   ` George G. Davis
2007-05-16 23:07     ` nishanth menon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.