[OE-core] [PATCH] libpfm4: exclude from world

McClintock Matthew-B29882 B29882 at freescale.com
Tue Feb 12 17:14:41 UTC 2013


On Thu, Feb 7, 2013 at 4:43 PM, Saul Wold <sgw at linux.intel.com> wrote:
> On 02/07/2013 06:33 AM, Martin Jansa wrote:
>>
>> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
>> ---
>>   meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb
>> b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb
>> index 460029f..438dbc3 100644
>> --- a/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb
>> +++ b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb
>> @@ -24,3 +24,6 @@ S = "${WORKDIR}/libpfm-${PV}"
>>   do_install () {
>>         oe_runmake install
>>   }
>> +
>> +# oprofile depends on it only for ppc* and it fails to build on arm
>> +EXCLUDE_FROM_WORLD = "1"
>>
>
> Should it be EXCLUDE_FROM_WORLD or
>
> COMPATIBLE_MACHINE= "(*ppc*|mpc*)"
>
> Since for a ppc world build it would be valid.

We really need COMPATIBLE_ARCH here...

Actually I've found since I tried to upstream my last patches that
libpfm is only a req for ppc64. I'm going to submit some follow up
patches once I hear back from the oprofile person I've been chatting
with

-M




More information about the Openembedded-core mailing list