Skip to contentSkip to conversation

libpfm4: exclude from world

PATCH In review Martin Jansa 4 participants 5 messages Feb 7, 2013 – Feb 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libpfm4: exclude from world

---
 meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb +3 -0
index 460029f..438dbc3 100644
@@ -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"
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 11 lines · Martin Jansa
---
  meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb | 3 +++
  1 file changed, 3 insertions(+)
meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb +0 -0
index 460029f..438dbc3 100644

meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb S = "${WORKDIR}/libpfm-${PV}" · line 29

Quoted 6 lines
meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb +3 -0
@@ -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!

#2 lore raw
Quoted 23 lines · Saul Wold
Quoted 13 lines · Martin Jansa
---
  meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb | 3 +++
  1 file changed, 3 insertions(+)
meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb +0 -0
index 460029f..438dbc3 100644

meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb S = "${WORKDIR}/libpfm-${PV}" · line 29

Quoted 6 lines
meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb +3 -0
@@ -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

Quoted 3 lines

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

#3 lore raw
Quoted 1 line · 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.

#4 lore raw
Quoted 4 lines · Phil Blundell
Quoted 1 line · 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