KERNEL_DTBDEST is the right place to look for dtb files. This variable
may deafult to KERNEL_IMAGEDEST but not always. So to avoid failures
it is must to read dtb files only from KERNEL_DTBDEST.
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
In order to improve sharing of the bootimg code, convert it to the
BitBake class instead of it being just an include.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>