From: Denys Dmytriyenko <denis@denix.org>
To: Ryan Eatmon <reatmon@ti.com>
Cc: Manorit Chawdhry <m-chawdhry@ti.com>,
meta-ti@lists.yoctoproject.org, Andrew Davis <afd@ti.com>,
Jayesh Choudhary <j-choudhary@ti.com>,
Praneeth Bajjuri <praneeth@ti.com>
Subject: Re: [meta-ti][dunfell][PATCH] optee: update optee-client, optee-test, optee-examples to 3.19 tag
Date: Sun, 4 Dec 2022 17:56:34 -0500 [thread overview]
Message-ID: <20221204225634.GX22689@denix.org> (raw)
In-Reply-To: <811707e3-c815-000d-75a9-49fd4d4242e7@ti.com>
On Sat, Dec 03, 2022 at 11:04:00AM -0600, Ryan Eatmon wrote:
>
>
> 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 <m-chawdhry@ti.com>
> >>>---
> >>> 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.
Looks like you've done your research - it's a bit strange use of pkgconfig
by optee-client, not a basic normal use case I was referring to.
If the Makefile is trying to check if libuuid is installed, don't you need to
also have it the DEPENDS?
And we'll see how meta-arm/master handles it soon enough, when updating to
3.19 upstream...
--
Denys
next prev parent reply other threads:[~2022-12-04 22:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-02 10:04 [meta-ti][dunfell][PATCH] optee: update optee-client, optee-test, optee-examples to 3.19 tag Manorit Chawdhry
2022-12-03 2:04 ` Ryan Eatmon
2022-12-03 15:48 ` Denys Dmytriyenko
2022-12-03 17:04 ` Ryan Eatmon
2022-12-04 22:56 ` Denys Dmytriyenko [this message]
2022-12-05 14:23 ` Ryan Eatmon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221204225634.GX22689@denix.org \
--to=denis@denix.org \
--cc=afd@ti.com \
--cc=j-choudhary@ti.com \
--cc=m-chawdhry@ti.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=praneeth@ti.com \
--cc=reatmon@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.