And you're changing the build time dependencies, the warning is about runtime dependencies, so I don't think this is correct.
On Fri, May 31, 2024 at 8:59 AM Peter Marko via lists.openembedded.org <[email protected]> wrote: > > -----Original Message----- > From: [email protected] > <[email protected]> On Behalf Of Bin Lan via > lists.openembedded.org > Sent: Friday, May 31, 2024 8:30 > To: [email protected] > Cc: Bin Lan <[email protected]> > Subject: [OE-core][scarthgap][PATCH] opencl: fix virtual PROVIDES warnings > > > From: Bin Lan <[email protected]> > > > > oe-core has started to warn when virtual/ is used outside of > > the RPROVIDES (build) context. > > > > We tweak provides/depends to use virtual- instead to > > avoid the warning: > > > > RPROVIDES is set to virtual/opencl-icd, the substring 'virtual/' > > holds no meaning in this context. It is suggested to use the 'virtual-' > > You have old version of master/scarthgap, current warning is: > %s is set to %s but the substring 'virtual/' holds no meaning in this > context. It only works for build time dependencies, not runtime ones. It is > suggested to use 'VIRTUAL-RUNTIME_' variables instead. > > Also you should send this to master first as it applies to that branch, too. > > > > > Signed-off-by: Bin Lan <[email protected]> > > --- > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#200058): https://lists.openembedded.org/g/openembedded-core/message/200058 Mute This Topic: https://lists.openembedded.org/mt/106403372/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
