]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-fitimage: Allow user to select dtb when multiple dtb exists
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Wed, 4 Jan 2023 22:09:02 +0000 (15:09 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Jan 2023 23:07:39 +0000 (23:07 +0000)
commit160f2c58d68a049a87ddc7aedb2055152ac6ff4e
tree19d7a81918709fce1a00b5f71b6db7d60a52f04f
parentbcb3c0272f6ab846c3232548df1e1182bcc67486
kernel-fitimage: Allow user to select dtb when multiple dtb exists

Allow user to select the default DTB for FIT image when multiple
dtb's exists.

From machine.conf or local.conf user can specify the default dtb
for FIT image as shown below.

FIT_CONF_DEFAULT_DTB = "board-default.dtb"

Also fallback to avaialable dtb when FIT_CONF_DEFAULT_DTB doesn't
exits or empty.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel-fitimage.bbclass