https://github.com/torvalds/linux
Raw File
Tip revision: c32511e2718618f0b53479eb36e07439aa363a74 authored by Linus Torvalds on 13 July 2005, 04:46:46 UTC
Linux 2.6.13-rc3
Tip revision: c32511e
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