Skip to content

Commit bc91c9f

Browse files
stiggemichal42
authored andcommitted
mkuboot.sh: Fail if mkimage is missing
on building an uImage, I get: $ make uImage CHK include/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CALL scripts/checksyscalls.sh CHK include/generated/compile.h Kernel: arch/arm/boot/Image is ready SHIPPED arch/arm/boot/compressed/lib1funcs.S AS arch/arm/boot/compressed/lib1funcs.o LD arch/arm/boot/compressed/vmlinux OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready UIMAGE arch/arm/boot/uImage "mkimage" command not found - U-Boot images will not be built Image arch/arm/boot/uImage is ready $ I.e. it says: "uImage is ready" even though the uImage file doesn't exist because mkimage is missing. I propose the attached patch. Signed-off-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent a3c888f commit bc91c9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/mkuboot.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ -z "${MKIMAGE}" ]; then
1111
if [ -z "${MKIMAGE}" ]; then
1212
# Doesn't exist
1313
echo '"mkimage" command not found - U-Boot images will not be built' >&2
14-
exit 0;
14+
exit 1;
1515
fi
1616
fi
1717

0 commit comments

Comments
 (0)