[BACK]Return to mkuboot.sh CVS log [TXT][DIR] Up to [Development] / linux-2.4-xfs-OLD / linux / scripts

File: [Development] / linux-2.4-xfs-OLD / linux / scripts / mkuboot.sh (download)

Revision 1.1, Tue Nov 11 05:40:57 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.4.23-rc1

#!/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} "$@"