]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: pass external DTB provided by make variable EXT_DTB to binman
authorAlexander Kochetkov <al.kochet@gmail.com>
Thu, 19 Sep 2024 16:10:42 +0000 (19:10 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 2 Oct 2024 19:38:59 +0000 (13:38 -0600)
commitf27e83062956c3b09d2ee3ea3b3c815f9d57e42d
tree13f0a38d53deb9d5995552b4ac07b72c6caf46a3
parent983fd3d06db68e57a0fc8d6e4a2dffe4c69e9743
Makefile: pass external DTB provided by make variable EXT_DTB to binman

Yocto build is using EXT_DTB to repack U-Boot during signed
FIT kernel creation. First, it takes the DTB from U-Boot, then
it creates signed FIT kernel image and places kernel key into
the DTB. After that it executes:
    make EXT_DTB=/path/to/dtb/with/kernel/key

Despite the fact that in the documentation all examples with EXT_DTB
use only single DTB, the patch allows pass many DTB files separated
by spaces, e.g.:
    make EXT_DTB="/path1/to/1.dtb /path2/to/2.dtb"

The first DTB from the list become default configuration.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile