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:
@@ -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 \
|
||||
"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
inherit gitpkgv
|
||||
PKGV = "${PV}${GITPKGV}"
|
||||
UBOOT_VERSION = "${PKGV}-${PKGR}"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user