mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02: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:
parent
859368fca9
commit
19e5202131
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user