aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches/0044-fail-unless-uimage.patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches/0044-fail-unless-uimage.patch.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches/0044-fail-unless-uimage.patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches/0044-fail-unless-uimage.patch.patch b/target/linux/s3c24xx/patches/0044-fail-unless-uimage.patch.patch
new file mode 100755
index 0000000000..86a3ce9802
--- /dev/null
+++ b/target/linux/s3c24xx/patches/0044-fail-unless-uimage.patch.patch
@@ -0,0 +1,27 @@
+From 10042752e49358e1ef5ccfbb4e1c27875f3f43c5 Mon Sep 17 00:00:00 2001
+From: mokopatches <mokopatches@openmoko.org>
+Date: Fri, 25 Jul 2008 22:21:22 +0100
+Subject: [PATCH] fail-unless-uimage.patch
+ Fail the build noisily if "mkimage" can't be found, e.g., if we forgot to add
+ the u-boot directory to PATH.
+
+---
+ 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
+
+--
+1.5.6.3
+