[poky] Problems adding native support packages

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 11 14:25:10 PST 2011


On Fri, 2011-03-11 at 13:52 +0800, Tian, Kevin wrote:
> From: Xu, Dongxiao:
> > Tian, Kevin wrote:
> > >>
> > >> atk's SRC_URI is assigned like:
> > >>
> > >> SRC_URI =
> > >> "http://download.gnome.org/sources/atk/1.32/${PN}-${PV}.tar.bz2"
> > >>
> > >> After introducing native to atk, PN is changed to atk-native, thus
> > >> no resouce is found in the repo.
> > >>
> > >> I will make a fix to that. But for your quick workaournd, you can
> > >> change the atk's SRC_URI to:
> > >>
> > >> SRC_URI =
> > >> "http://download.gnome.org/sources/atk/1.32/atk-${PV}.tar.bz2"
> > >>
> > >
> > > use ${BPN}-${PV} instead.
> > 
> > Yes. This is the right approach.
> > 
> > I checked in current poky meta recipes, there are about 67 recipes which
> > directly uses ${PN} in the SRC_URI line.
> > 
> > Do we need to change all of them to ${BPN}?
> > 
> 
> I think it's a cleaner way to use BPN, or even simple BP. This would avoid an error
> alarm when extending some recipes to native. :-)

This is exactly the use case for the BPN variable so yes, making
standardised use of that would be good.

Cheers,

Richard




More information about the poky mailing list