Revision e225f446a0808ce38b124df489d0568c05c3057a authored by Ben Skeggs on 21 November 2012, 04:40:21 UTC, committed by Ben Skeggs on 28 November 2012, 23:57:58 UTC
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
1 parent 4f6029d
mkuboot.sh
#!/bin/bash
#
# Build U-Boot image when `mkimage' tool is available.
#
MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage")
if [ -z "${MKIMAGE}" ]; then
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 1;
fi
fi
# Call "mkimage" to create U-Boot image
${MKIMAGE} "$@"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...