r3823 - branches/src/target/kernel/2.6.24.x/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Mon Jan 14 01:36:31 CET 2008


Author: werner
Date: 2008-01-14 01:36:27 +0100 (Mon, 14 Jan 2008)
New Revision: 3823

Added:
   branches/src/target/kernel/2.6.24.x/patches/fail-unless-uimage.patch
Modified:
   branches/src/target/kernel/2.6.24.x/patches/series
Log:
Fail the build noisily if "mkimage" can't be found, e.g., if we forgot to add
the u-boot directory to PATH.

fail-unless-uimage.patch:
- scripts/mkuboot.sh: on failure, exit 1, not 0



Added: branches/src/target/kernel/2.6.24.x/patches/fail-unless-uimage.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/fail-unless-uimage.patch	2008-01-13 18:22:07 UTC (rev 3822)
+++ branches/src/target/kernel/2.6.24.x/patches/fail-unless-uimage.patch	2008-01-14 00:36:27 UTC (rev 3823)
@@ -0,0 +1,16 @@
+Fail the build noisily if "mkimage" can't be found, e.g., if we forgot to add
+the u-boot directory to PATH.
+
+Index: linux-2.6.24-rc7/scripts/mkuboot.sh
+===================================================================
+--- linux-2.6.24-rc7.orig/scripts/mkuboot.sh
++++ linux-2.6.24-rc7/scripts/mkuboot.sh
+@@ -11,7 +11,7 @@
+ 	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
+ 

Modified: branches/src/target/kernel/2.6.24.x/patches/series
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/series	2008-01-13 18:22:07 UTC (rev 3822)
+++ branches/src/target/kernel/2.6.24.x/patches/series	2008-01-14 00:36:27 UTC (rev 3823)
@@ -62,3 +62,4 @@
 # qt2410 local hacks
 qt2410-cs8900.patch
 s3c2410-qt2410-buttons.patch
+fail-unless-uimage.patch





More information about the commitlog mailing list