https://github.com/torvalds/linux
Raw File
Tip revision: 67ec1072b053c15564e6090ab30127895dc77a89 authored by Takashi Iwai on 17 February 2016, 13:30:26 UTC
ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream
Tip revision: 67ec107
mkuboot.sh
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

#
# 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} "$@"
back to top