[poky] [PATCH 1/1] curl: fix native dependency

Tian, Kevin kevin.tian at intel.com
Mon Dec 6 23:56:09 PST 2010


>From: Richard Purdie [mailto:rpurdie at linux.intel.com]
>Sent: Monday, December 06, 2010 9:10 AM
>
>On Sun, 2010-12-05 at 17:43 +0800, Tian, Kevin wrote:
>> >From: He, Qing
>> >Sent: Tuesday, November 30, 2010 9:44 AM
>> >To be more specific, if append is to be handled earlier than virtclass,
>> >FOO may not be able to be evaluated at the time when append/prepend is
>> >processed, as the following test case:
>> >
>> >FOO = "A"
>> >FOO_virtclass-native = "B"
>> >FOO_append = "C"
>> >FOO_append_virtclass-nativesdk = "D"
>> >
>> >How should it be handled?
>> >
>>
>> The expected result will be:
>>
>> a) if you build pkgname, you'll get FOO = "AC" as the effect of _append
>>
>> b) if you build pkgname-native, you'll get FOO = "BC" because overrides are
>> handled before _append/_prepend
>>
>> a) if you build pkgname-nativesdk, you'll get FOO = "AD" because override
>> appendix is used
>
>but this last case should be ACD as I think we've determined there is a
>bug in bitbake :)
>

yes, you are correct. :-)

Thanks
Kevin


More information about the poky mailing list