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

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

Revision 1.1, Mon Oct 6 20:20:41 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: HEAD

merge up to 2.6.0-test6

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