mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
rk: scripts/mkimg: Fix search mkimage
type will return an exit status of false when the name is not found. Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: Ia5f719550c5e6eab3373f6d45c63f5f77d29b688
This commit is contained in:
@@ -113,7 +113,7 @@ repack_boot_img()
|
||||
|
||||
check_mkimage()
|
||||
{
|
||||
MKIMAGE=$(type -path ${MKIMAGE})
|
||||
MKIMAGE=$(type -p ${MKIMAGE} || true)
|
||||
if [ -z "${MKIMAGE}" ]; then
|
||||
# Doesn't exist
|
||||
echo '"mkimage" command not found - U-Boot images will not be built' >&2
|
||||
|
||||
Reference in New Issue
Block a user