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:
parent
9b32339749
commit
cd6239260c
2
make.sh
2
make.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue