imx: mkimage: avoid stop CI when required files not exists
authorPeng Fan <peng.fan@nxp.com>
Thu, 25 Oct 2018 08:32:40 +0000 (08:32 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Oct 2018 09:47:53 +0000 (11:47 +0200)
commitd79611598fb74dc0f7cb37d855fff28d77ba8d53
treee1fca983dd440d4bfd5b0798f7363be47ee2866e
parentbb839ad931840e49472bf65c7e54d61aef8f6736
imx: mkimage: avoid stop CI when required files not exists

Introduce a new script to check whether file exists and
use that check in Makefile to avoid break CI system.

The script return 1 when the required files not exists, return 0
when files exists. The script will ignore check to u-boot-dtb.bin,
because if there is something wrong to generate u-boot-dtb.bin,
there must be some code error.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/Makefile
tools/imx_cntr_image.sh [new file with mode: 0755]