]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
u-boot: Allow for customizing installed/deployed file names
authorRyan Eatmon <reatmon@ti.com>
Mon, 23 Jun 2025 21:05:47 +0000 (16:05 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jun 2025 21:12:55 +0000 (22:12 +0100)
commitdebc691853e2954bd325bad395b8829939afaa08
treec8475e910e385cbd4d34037ed5d21eab6de199c4
parent65fd3c93285e0a166f0d77a92cc42680d72a6bd1
u-boot: Allow for customizing installed/deployed file names

When assembling all of the various filenames that are installed/deployed
from u-boot, we have been including the PV and PR in the filenames.  This
change introduces a single variable to replace these two in the
filenames.

This change should not be disruptive since the default value for the new
UBOOT_VERSION variable is "${PV}-${PR}".

In one case (UBOOT_EXTLINUX_SYMLINK [1]), PR was used without PV, this
patch assumes this was a mistake and corrects it as PR would not be of
much use alone.

[1] https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=33df3a65f3e8e136811da715d0cc247ce66ae0ea

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/uboot-config.bbclass
meta/recipes-bsp/u-boot/u-boot.inc