summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2014-12-18 16:51:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-23 10:18:18 +0000
commitba1db068b052b86c37b9575c08c3d4871b1ca61c (patch)
tree21c2d2c7a3787a14ebeccb293902a02d8b1b4f8f /meta
parent1ce4f04bb98bd855e08ad2b028f67625f0a7b617 (diff)
downloadpoky-ba1db068b052b86c37b9575c08c3d4871b1ca61c.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust/add-aarch64.patch19
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb1
-rw-r--r--meta/recipes-support/liburcu/files/aarch64.patch19
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.8.5.bb1
4 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust/add-aarch64.patch b/meta/recipes-kernel/lttng/lttng-ust/add-aarch64.patch
new file mode 100644
index 0000000000..cec5410369
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-ust/add-aarch64.patch
@@ -0,0 +1,19 @@
1lttng-ust: add aarch64 recognition
2
3Treat the same as "arm".
4
5Upstream-Status: Pending
6
7Signed-off-by: joe.slater@windriver.com
8
9
10--- a/configure.ac
11+++ b/configure.ac
12@@ -230,6 +230,7 @@ changequote([,])dnl
13 s390) NO_UNALIGNED_ACCESS=1 ;;
14 s390x) NO_UNALIGNED_ACCESS=1 ;;
15 arm*) NO_UNALIGNED_ACCESS=1 ;;
16+ aarch64) NO_UNALIGNED_ACCESS=1 ;;
17 mips*) NO_UNALIGNED_ACCESS=1 ;;
18 tile*) NO_UNALIGNED_ACCESS=1 ;;
19 *) AC_MSG_ERROR([unable to detect alignment requirements (unsupported architecture ($host_cpu)?)]) ;;
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb
index 71ea5bccf2..e07d3c726b 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.5.0.bb
@@ -24,6 +24,7 @@ PE = "2"
24 24
25SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.5 \ 25SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.5 \
26 file://lttng-ust-doc-examples-disable.patch \ 26 file://lttng-ust-doc-examples-disable.patch \
27 file://add-aarch64.patch \
27 " 28 "
28 29
29S = "${WORKDIR}/git" 30S = "${WORKDIR}/git"
diff --git a/meta/recipes-support/liburcu/files/aarch64.patch b/meta/recipes-support/liburcu/files/aarch64.patch
new file mode 100644
index 0000000000..c6cc8c2fd3
--- /dev/null
+++ b/meta/recipes-support/liburcu/files/aarch64.patch
@@ -0,0 +1,19 @@
1libucru: recognize aarch64
2
3Make the same as "arm" internally.
4
5Upstream-Status: Pending
6
7Signed-off-by: joe.slater@windriver.com
8
9
10--- a/configure.ac
11+++ b/configure.ac
12@@ -77,6 +77,7 @@ AS_CASE([$host_cpu],
13 [alpha*], [ARCHTYPE="alpha"],
14 [ia64], [ARCHTYPE="gcc"],
15 [arm*], [ARCHTYPE="arm"],
16+ [aarch64], [ARCHTYPE="arm"],
17 [mips*], [ARCHTYPE="mips"],
18 [tile*], [ARCHTYPE="gcc"],
19 [ARCHTYPE="unknown"]
diff --git a/meta/recipes-support/liburcu/liburcu_0.8.5.bb b/meta/recipes-support/liburcu/liburcu_0.8.5.bb
index 04c990e837..62323d3fd7 100644
--- a/meta/recipes-support/liburcu/liburcu_0.8.5.bb
+++ b/meta/recipes-support/liburcu/liburcu_0.8.5.bb
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0f060c30a27922ce9c0d557a639b4fa3 \
9 9
10SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2 \ 10SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2 \
11 file://Revert-Blacklist-ARM-gcc-4.8.0-4.8.1-4.8.2.patch \ 11 file://Revert-Blacklist-ARM-gcc-4.8.0-4.8.1-4.8.2.patch \
12 file://aarch64.patch \
12 " 13 "
13 14
14SRC_URI[md5sum] = "24ba9e03542b747d3378434eb0041acf" 15SRC_URI[md5sum] = "24ba9e03542b747d3378434eb0041acf"