diff options
author | Olivier Georget <ogeorget@prophesee.ai> | 2021-06-24 19:28:48 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-25 08:37:42 -0700 |
commit | d02bd486736ba7cc552312849cea4fa33b1e1259 (patch) | |
tree | 863c44129c8b01f984c47902d439f32ef013d86b /meta-oe/recipes-kernel/libpfm | |
parent | a6653e6dd42910ea2ad83aa1cd87ae7828555caf (diff) | |
download | meta-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.bb | 3 |
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 | ||
11 | SECTION = "devel" | 11 | SECTION = "devel" |
12 | 12 | ||
13 | COMPATIBLE_HOST = "powerpc64" | 13 | COMPATIBLE_HOST = "powerpc64|aarch64" |
14 | 14 | ||
15 | SRC_URI = "${SOURCEFORGE_MIRROR}/perfmon2/${BPN}/libpfm-${PV}.tar.gz \ | 15 | SRC_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 | |||
24 | EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" | 24 | EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" |
25 | EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" | 25 | EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" |
26 | EXTRA_OEMAKE_append_powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\"" | 26 | EXTRA_OEMAKE_append_powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\"" |
27 | EXTRA_OEMAKE_append_aarch64 = " ARCH=\"arm64\"" | ||
27 | 28 | ||
28 | S = "${WORKDIR}/libpfm-${PV}" | 29 | S = "${WORKDIR}/libpfm-${PV}" |
29 | 30 | ||