mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
lttng: recognize aarch64
Add aarch64 architecture to liburcu and lttng-ust. Internally it is treated the same as "arm". (From OE-Core rev: 9546d5a5078e34966061d42233678faaa3041d41) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1ce4f04bb9
commit
ba1db068b0
19
meta/recipes-kernel/lttng/lttng-ust/add-aarch64.patch
Normal file
19
meta/recipes-kernel/lttng/lttng-ust/add-aarch64.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
lttng-ust: add aarch64 recognition
|
||||
|
||||
Treat the same as "arm".
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: joe.slater@windriver.com
|
||||
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -230,6 +230,7 @@ changequote([,])dnl
|
||||
s390) NO_UNALIGNED_ACCESS=1 ;;
|
||||
s390x) NO_UNALIGNED_ACCESS=1 ;;
|
||||
arm*) NO_UNALIGNED_ACCESS=1 ;;
|
||||
+ aarch64) NO_UNALIGNED_ACCESS=1 ;;
|
||||
mips*) NO_UNALIGNED_ACCESS=1 ;;
|
||||
tile*) NO_UNALIGNED_ACCESS=1 ;;
|
||||
*) AC_MSG_ERROR([unable to detect alignment requirements (unsupported architecture ($host_cpu)?)]) ;;
|
||||
@@ -24,6 +24,7 @@ PE = "2"
|
||||
|
||||
SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.5 \
|
||||
file://lttng-ust-doc-examples-disable.patch \
|
||||
file://add-aarch64.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
19
meta/recipes-support/liburcu/files/aarch64.patch
Normal file
19
meta/recipes-support/liburcu/files/aarch64.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
libucru: recognize aarch64
|
||||
|
||||
Make the same as "arm" internally.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: joe.slater@windriver.com
|
||||
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -77,6 +77,7 @@ AS_CASE([$host_cpu],
|
||||
[alpha*], [ARCHTYPE="alpha"],
|
||||
[ia64], [ARCHTYPE="gcc"],
|
||||
[arm*], [ARCHTYPE="arm"],
|
||||
+ [aarch64], [ARCHTYPE="arm"],
|
||||
[mips*], [ARCHTYPE="mips"],
|
||||
[tile*], [ARCHTYPE="gcc"],
|
||||
[ARCHTYPE="unknown"]
|
||||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0f060c30a27922ce9c0d557a639b4fa3 \
|
||||
|
||||
SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2 \
|
||||
file://Revert-Blacklist-ARM-gcc-4.8.0-4.8.1-4.8.2.patch \
|
||||
file://aarch64.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "24ba9e03542b747d3378434eb0041acf"
|
||||
|
||||
Reference in New Issue
Block a user