* [PATCH] libpfm4: exclude from world
@ 2013-02-07 14:33 Martin Jansa
2013-02-07 22:43 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2013-02-07 14:33 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@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"
--
1.8.1.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] libpfm4: exclude from world
2013-02-07 14:33 [PATCH] libpfm4: exclude from world Martin Jansa
@ 2013-02-07 22:43 ` Saul Wold
2013-02-12 17:14 ` McClintock Matthew-B29882
0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2013-02-07 22:43 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core
On 02/07/2013 06:33 AM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@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.
Sau!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libpfm4: exclude from world
2013-02-07 22:43 ` Saul Wold
@ 2013-02-12 17:14 ` McClintock Matthew-B29882
2013-02-12 17:19 ` Phil Blundell
0 siblings, 1 reply; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2013-02-12 17:14 UTC (permalink / raw)
To: Saul Wold; +Cc: Martin Jansa, openembedded-core@lists.openembedded.org
On Thu, Feb 7, 2013 at 4:43 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 02/07/2013 06:33 AM, Martin Jansa wrote:
>>
>> Signed-off-by: Martin Jansa <Martin.Jansa@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libpfm4: exclude from world
2013-02-12 17:14 ` McClintock Matthew-B29882
@ 2013-02-12 17:19 ` Phil Blundell
2013-02-12 17:25 ` McClintock Matthew-B29882
0 siblings, 1 reply; 5+ messages in thread
From: Phil Blundell @ 2013-02-12 17:19 UTC (permalink / raw)
To: McClintock Matthew-B29882
Cc: openembedded-core@lists.openembedded.org, Martin Jansa
On Tue, 2013-02-12 at 17:14 +0000, McClintock Matthew-B29882 wrote:
> We really need COMPATIBLE_ARCH here...
Why can't you use COMPATIBLE_HOST?
p.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libpfm4: exclude from world
2013-02-12 17:19 ` Phil Blundell
@ 2013-02-12 17:25 ` McClintock Matthew-B29882
0 siblings, 0 replies; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2013-02-12 17:25 UTC (permalink / raw)
To: Phil Blundell
Cc: McClintock Matthew-B29882, Martin Jansa,
openembedded-core@lists.openembedded.org
On Tue, Feb 12, 2013 at 11:19 AM, Phil Blundell <pb@pbcl.net> wrote:
> On Tue, 2013-02-12 at 17:14 +0000, McClintock Matthew-B29882 wrote:
>> We really need COMPATIBLE_ARCH here...
>
> Why can't you use COMPATIBLE_HOST?
Yes, that's what it's called ;)
-M
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-02-12 17:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 14:33 [PATCH] libpfm4: exclude from world Martin Jansa
2013-02-07 22:43 ` Saul Wold
2013-02-12 17:14 ` McClintock Matthew-B29882
2013-02-12 17:19 ` Phil Blundell
2013-02-12 17:25 ` McClintock Matthew-B29882
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox