summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/libpfm
diff options
context:
space:
mode:
authorOlivier Georget <ogeorget@prophesee.ai>2021-06-24 19:28:48 +0200
committerKhem Raj <raj.khem@gmail.com>2021-06-25 08:37:42 -0700
commitd02bd486736ba7cc552312849cea4fa33b1e1259 (patch)
tree863c44129c8b01f984c47902d439f32ef013d86b /meta-oe/recipes-kernel/libpfm
parenta6653e6dd42910ea2ad83aa1cd87ae7828555caf (diff)
downloadmeta-openembedded-d02bd486736ba7cc552312849cea4fa33b1e1259.tar.gz
libpfm4 4.10.1 : enable arm64 host platform
libpfm4 is only enabled for powerpc arch as of now. This enables the lib on Arm 64bit platform as well. Signed-off-by: Olivier Georget <olivier.georget@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/libpfm')
-rw-r--r--meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb b/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb
index da7d3a49e..8ffc99f91 100644
--- a/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb
+++ b/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788"
10 10
11SECTION = "devel" 11SECTION = "devel"
12 12
13COMPATIBLE_HOST = "powerpc64" 13COMPATIBLE_HOST = "powerpc64|aarch64"
14 14
15SRC_URI = "${SOURCEFORGE_MIRROR}/perfmon2/${BPN}/libpfm-${PV}.tar.gz \ 15SRC_URI = "${SOURCEFORGE_MIRROR}/perfmon2/${BPN}/libpfm-${PV}.tar.gz \
16 file://0001-Include-poll.h-instead-of-sys-poll.h.patch \ 16 file://0001-Include-poll.h-instead-of-sys-poll.h.patch \
@@ -24,6 +24,7 @@ EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCON
24EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" 24EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\""
25EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" 25EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\""
26EXTRA_OEMAKE_append_powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\"" 26EXTRA_OEMAKE_append_powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\""
27EXTRA_OEMAKE_append_aarch64 = " ARCH=\"arm64\""
27 28
28S = "${WORKDIR}/libpfm-${PV}" 29S = "${WORKDIR}/libpfm-${PV}"
29 30