summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-11-07 19:17:52 +0000
committerRyan Eatmon <reatmon@ti.com>2022-11-10 08:27:52 -0600
commitd59d441e1add7f71f71645518e139d855492f91e (patch)
tree2ce5e66115b64b838026b86bd830206cd27d51da /meta-ti-bsp
parent48841468a4fcb919794038efdad4e5f40df56a35 (diff)
downloadmeta-ti-d59d441e1add7f71f71645518e139d855492f91e.tar.gz
optee: make bbappends version-specific
Kirkstone branch of meta-arm comes with 2 versions of optee-os and optee-client - 3.14 and 3.16. They have different dependencies and slightly different build flows. In our bbappends we bump SRCREV to latest version for newer platform support and also update PV to indicate the correct version. While bbappends are expected to be applied against newer 3.16 version of the recipes, they use wildcard versioning and are not version-specific. That results in bbappends applied to both versions of the recipes and PV set to be the same, while the content is different. At this point bitbake can pick up any version of the base recipe and if it gets 3.14 to apply the bbappend, the build fails due to that version being too old and have different dependencies and build flows. Making bbappends version-specific avoids the problem. Alternatively, a whole recipe of the required newer version could be added, instead of using bbappends. Also, this is specific to Kirkstone, where meta-arm provides two versions of optee - 3.14 and 3.16. In Lagdale and master only a single 3.18 version of optee is provided. Another hacky approach would be to not bump PV and let it be set by the base recipe. That would avoid the build issue and keep bbappends version-agnostic across branches, but result in incorrect versioning of the binary packages, which might be confusing. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-client_3.16%.bbappend (renamed from meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend)0
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os_3.16%.bbappend (renamed from meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend)0
2 files changed, 0 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-client_3.16%.bbappend
index 109d451c..109d451c 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
+++ b/meta-ti-bsp/recipes-security/optee/optee-client_3.16%.bbappend
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-os_3.16%.bbappend
index 6913851b..6913851b 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
+++ b/meta-ti-bsp/recipes-security/optee/optee-os_3.16%.bbappend