[poky] Problems adding native support packages
Gary Thomas
gary at mlbassoc.com
Sun Mar 13 15:26:55 PDT 2011
On 03/11/2011 03:25 PM, Richard Purdie wrote:
> 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.
I filed this as bug #860 so the problem is not forgotten.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the poky
mailing list