u-boot-ti: Move UBOOT_VERSION into dynamic layer
PATCH 1/1 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 <[email protected]>
--- meta-ti-bsp/conf/layer.conf | 8 ++++++++ .../recipes-bsp/u-boot/u-boot-ti-%.bbappend | 5 +++++ meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 4 ---- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend
meta-ti-bsp/conf/layer.conf +8 -0
@@ -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 \ "
meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend new file +5 -0
@@ -0,0 +1,5 @@ + +inherit gitpkgv +PKGV = "${PV}${GITPKGV}" +UBOOT_VERSION = "${PKGV}-${PKGR}" +
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +0 -4
@@ -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"
Signature · 1 line
2.17.1