From 6c0253a88729981d0708294e25818e4f4c3893d9 Mon Sep 17 00:00:00 2001 From: Mihaela Martinas Date: Fri, 20 Nov 2015 11:34:23 +0100 Subject: lttng-ust: add support for aarch64 and aarch64_be Treat aarch64 and aarch64_be architectures the same as "arm". Signed-off-by: Mihaela Martinas Signed-off-by: Tudor Florea --- recipes-kernel/lttng/lttng-ust/add-aarch64.patch | 30 ++++++++++++++++++++++++ recipes-kernel/lttng/lttng-ust_2.5.0.bbappend | 4 ++++ 2 files changed, 34 insertions(+) create mode 100644 recipes-kernel/lttng/lttng-ust/add-aarch64.patch create mode 100644 recipes-kernel/lttng/lttng-ust_2.5.0.bbappend (limited to 'recipes-kernel') diff --git a/recipes-kernel/lttng/lttng-ust/add-aarch64.patch b/recipes-kernel/lttng/lttng-ust/add-aarch64.patch new file mode 100644 index 0000000..9112082 --- /dev/null +++ b/recipes-kernel/lttng/lttng-ust/add-aarch64.patch @@ -0,0 +1,30 @@ +lttng-ust: add aarch64 recognition + +Treat the same as "arm". + +Upstream-Status: Pending + +Signed-off-by: Joe Slater + +The patch was imported from OpenEmbedded mailing list +http://lists.openembedded.org/pipermail/openembedded-core/2014-September/097135.html. + +Besides recognizing aarch64, it was also necessary to recognize aarch64_be. + +Signed-off-by: Adrian Calianu +Signed-off-by: Alexandru.Vaduva + +--- +diff --git a/configure.ac b/configure.ac +index f507883..40a57d8 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -194,6 +194,8 @@ changequote([,])dnl + s390) NO_UNALIGNED_ACCESS=1 ;; + s390x) NO_UNALIGNED_ACCESS=1 ;; + arm*) NO_UNALIGNED_ACCESS=1 ;; ++ aarch64) NO_UNALIGNED_ACCESS=1 ;; ++ aarch64_be) 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)?)]) ;; diff --git a/recipes-kernel/lttng/lttng-ust_2.5.0.bbappend b/recipes-kernel/lttng/lttng-ust_2.5.0.bbappend new file mode 100644 index 0000000..7c42fd3 --- /dev/null +++ b/recipes-kernel/lttng/lttng-ust_2.5.0.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://add-aarch64.patch \ + " -- cgit v1.2.3-54-g00ecf