OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [linux_sd_driver/] [scripts/] [mkuboot.sh] - Rev 62

Compare with Previous | Blame | View Log

#!/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 0;
	fi
fi
 
# Call "mkimage" to create U-Boot image
${MKIMAGE} "$@"
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.