1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

u-boot-ti: Move UBOOT_VERSION into dynamic layer

The gitpkgv class we are using to set UBOOT_VERSION is located in
meta-openembedded.  We do not want to depend on meta-openembedded to
keep meta-ti-bsp as light as possible, and the naming of UBOOT_VERSION
is not a requirement, just a nice to have.  Dynamic layers allow us to
use the class if it is available in the build, but not require it.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Ryan Eatmon
2025-07-09 11:07:53 -05:00
parent f0787243b8
commit 479d3c0dd1
3 changed files with 13 additions and 4 deletions

View File

@@ -18,6 +18,14 @@ LAYERDEPENDS_meta-ti-bsp = " \
meta-arm \
"
LAYERRECOMMENDS_meta-ti-bsp = " \
openembedded-layer \
"
BBFILES_DYNAMIC += " \
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \
"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
mesa-pvr \
"

View File

@@ -0,0 +1,5 @@
inherit gitpkgv
PKGV = "${PV}${GITPKGV}"
UBOOT_VERSION = "${PKGV}-${PKGR}"

View File

@@ -5,10 +5,6 @@ do_compile:prepend () {
echo ${scm_version} > ${S}/.scmversion
}
inherit gitpkgv
PKGV = "${PV}${GITPKGV}"
UBOOT_VERSION = "${PKGV}-${PKGR}"
UBOOT_SUFFIX ?= "img"
SPL_BINARY ?= "MLO"