make.sh: ignore warn/error message of command 'ls'

fix: "ls: cannot access trust*.img: No such file or director".

Change-Id: Iabecb6b751dd3ba3f25fe725dac17cf4b7c39801
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2019-10-28 10:23:07 +08:00
parent 9b32339749
commit cd6239260c
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ pack_trust_image()
{
local mode=$1 files ini
ls trust*.img >/dev/null && rm trust*.img
ls trust*.img >/dev/null 2>&1 && rm trust*.img
# ARM64 uses trust_merger
if grep -Eq ''^CONFIG_ARM64=y'|'^CONFIG_ARM64_BOOT_AARCH32=y'' ${OUTDIR}/.config ; then
ini=${RKBIN}/RKTRUST/${RKCHIP_TRUST}TRUST.ini