On 12/3/2022 9:48, Denys Dmytriyenko wrote:
On Fri, Dec 02, 2022 at 08:04:52PM -0600, Ryan Eatmon via
lists.yoctoproject.org wrote:
On 12/2/2022 4:04, Manorit Chawdhry wrote:
optee-os was updated to 3.19 tag but the others were still outdated.
Updates other optee components to 3.19 tag
Signed-off-by: Manorit Chawdhry <[email protected]>
---
recipes-security/optee/optee-client_%.bbappend | 4 ++--
recipes-security/optee/optee-examples_%.bbappend | 4 ++--
recipes-security/optee/optee-test_%.bbappend | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/recipes-security/optee/optee-client_%.bbappend
b/recipes-security/optee/optee-client_%.bbappend
index 5675570a..6737ba92 100644
--- a/recipes-security/optee/optee-client_%.bbappend
+++ b/recipes-security/optee/optee-client_%.bbappend
@@ -1,2 +1,2 @@
-PV_ti-soc = "3.17.0+git${SRCPV}"
-SRCREV_ti-soc = "a5c30b1277466a9bf85b62f45a6b00e79774e29c"
+PV_ti-soc = "3.19.0+git${SRCPV}"
+SRCREV_ti-soc = "140bf463046071d3ca5ebbde3fb21ee0854e1951"
optee-client will not build against this SRCREV. They added a call
to pkg-config which is not readily available to the recipe without a
change to your patch.
You need to add:
DEPENDS += "pkgconfig"
You probably don't want a target pkgconfig, but a native one.
Do this instead:
inherit pkgconfig
Actually, I thought that at first too and tried all variations of the
native (inherit, depends, hosttools, etc...). The only thing that
actually made it work was the above.
In this case, pkg-config is not being called from configure, but from
the Makefile. The Makefile is trying to make sure that libuuid is
installed for the target. And the native would only make sure it is
installed on the native side, where as pkgconfig for target looks in all
of the places for the target library. At least that was my
understanding in reading online docs about it.
But depending on pkgconfig (for target) actually fixed the compile
issue. If you want to verify that or disprove it I would be most
appreciative. I spent a few hours banging my head on this one.
Please do so and resubmit the patch.
diff --git a/recipes-security/optee/optee-examples_%.bbappend
b/recipes-security/optee/optee-examples_%.bbappend
index 9941b345..dda7cbbf 100644
--- a/recipes-security/optee/optee-examples_%.bbappend
+++ b/recipes-security/optee/optee-examples_%.bbappend
@@ -1,5 +1,5 @@
-PV_ti-soc = "3.17.0+git${SRCPV}"
-SRCREV_ti-soc = "65fc74309e12189ad5b6ce3ffec37c8011088a5a"
+PV_ti-soc = "3.19.0+git${SRCPV}"
+SRCREV_ti-soc = "f301ee9df2129c0db683e726c91dc2cefe4cdb65"
SRC_URI_ti-soc =
"git://github.com/linaro-swg/optee_examples.git;protocol=https"
DEPENDS_append_ti-soc = " python3-cryptography-native"
diff --git a/recipes-security/optee/optee-test_%.bbappend
b/recipes-security/optee/optee-test_%.bbappend
index d81ae521..79b4b4d6 100644
--- a/recipes-security/optee/optee-test_%.bbappend
+++ b/recipes-security/optee/optee-test_%.bbappend
@@ -1,5 +1,5 @@
-PV_ti-soc = "3.17.0+git${SRCPV}"
-SRCREV_ti-soc = "8a698baf9e8e010e4d8d52e6aded42dfc31e5b25"
+PV_ti-soc = "3.19.0+git${SRCPV}"
+SRCREV_ti-soc = "ab9863cc187724e54c032b738c28bd6e9460a4db"
SRC_URI_ti-soc = "git://github.com/OP-TEE/optee_test.git;protocol=https"
DEPENDS_append_ti-soc = " python3-cryptography-native"
--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15401):
https://lists.yoctoproject.org/g/meta-ti/message/15401
Mute This Topic: https://lists.yoctoproject.org/mt/95403088/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-