The code where failing if used with no dtb files available in deploy
directory.
Change-Id: Ib08e23f3d7761b0991fcce009fb93290d698f7c3
Reported-by: Tim Michals <tcmichals@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
IMAGE_LINK_NAME_linux.sb = ""
IMAGE_CMD_linux.sb () {
kernel_bin="`readlink ${KERNEL_IMAGETYPE}-${MACHINE}.bin`"
- kernel_dtb="`readlink ${KERNEL_IMAGETYPE}-${MACHINE}.dtb`"
+ kernel_dtb="`readlink ${KERNEL_IMAGETYPE}-${MACHINE}.dtb || true`"
linux_bd_file=imx-bootlets-linux.bd-${MACHINE}
if [ `basename $kernel_bin .bin` = `basename $kernel_dtb .dtb` ]; then
# When using device tree we build a zImage with the dtb