1 diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh
2 index 52a17ab..4b06c5e 100755
3 --- a/scripts/mkuboot.sh
4 +++ b/scripts/mkuboot.sh
6 # Build U-Boot image when `mkimage' tool is available.
9 -MKIMAGE=$(type -path mkimage)
10 +MKIMAGE=$(type -path ${CROSS_COMPILE}mkimage)
12 if [ -z "${MKIMAGE}" ]; then
14 - echo '"mkimage" command not found - U-Boot images will not be built' >&2
16 + MKIMAGE=$(type -path mkimage)
17 + if [ -z "${MKIMAGE}" ]; then
19 + echo '"mkimage" command not found - U-Boot images will not be built' >&2
24 # Call "mkimage" to create U-Boot image