> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> c...@lists.openembedded.org> On Behalf Of Kory Maincent
> Sent: den 18 december 2020 09:52
> To: Peter Kjellerstedt <peter.kjellerst...@axis.com>
> Cc: openembedded-core@lists.openembedded.org;
> thomas.petazz...@bootlin.com
> Subject: Re: [OE-core] [PATCH v2] ltp: fix rpc build error
> 
> Hello Peter,
> 
> On Thu, 17 Dec 2020 16:21:20 +0000
> Peter Kjellerstedt <peter.kjellerst...@axis.com> wrote:
> 
> > >
> > >  TARGET_CC_ARCH += "${LDFLAGS}"
> > >
> > > +export libdir := "${exec_prefix}/${baselib}"
> > > +export incdir := "${exec_prefix}/include"
> >
> > This should be a little bit better:
> >
> > export libdir := "${libdir}"
> > export incdir := "${incdir}"
> 
> Thanks,
> I did not notice but it brings an error and I sent a V3 with it.
> Your review returns this error:
> bb.data_smart.ExpansionError: Failure expanding variable incdir,
> expression was ${incdir} which triggered exception Exception: variable
> incdir references itself!

Duh, of course. That is because there is no incdir variable, so 
"${incdir}" will expand to "\${incdir}". The real variable is called 
includedir. 

This of course brings the question whether ltp expects incdir or 
includedir, and if it is the latter, then your changes so far have not 
made any difference when it comes to includedir, which means they 
shouldn't be needed.

> 
> Regards,
> 
> Köry,

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145859): 
https://lists.openembedded.org/g/openembedded-core/message/145859
Mute This Topic: https://lists.openembedded.org/mt/79036634/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to