summaryrefslogtreecommitdiff
path: root/packages/linux/linux-mtx-3-2.6.15.4/01-verbose-and-fatal-mkuboot.diff
blob: ddae010f8f51c58799324614d3bc8f99f257b3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- linux-2.6.15.4.orig/scripts/mkuboot.sh	2006-10-05 13:56:39.000000000 +0200
+++ linux-2.6.15.4/scripts/mkuboot.sh	2006-10-05 14:03:25.000000000 +0200
@@ -6,10 +6,12 @@
 
 MKIMAGE=$(type -path mkimage)
 
+echo "${MKIMAGE} $@"
+
 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
 
 # Call "mkimage" to create U-Boot image