https://github.com/torvalds/linux
Raw File
Tip revision: 9a351e30d72d409ec62c83f380e330e0baa584b4 authored by Linus Torvalds on 02 August 2005, 04:45:48 UTC
Linux v2.6.13-rc5
Tip revision: 9a351e3
mkuboot.sh
#!/bin/bash

#
# Build U-Boot image when `mkimage' tool is available.
#

MKIMAGE=$(type -path mkimage)

if [ -z "${MKIMAGE}" ]; then
	# Doesn't exist
	echo '"mkimage" command not found - U-Boot images will not be built' >&2
	exit 0;
fi

# Call "mkimage" to create U-Boot image
${MKIMAGE} "$@"
back to top