aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorganeshraju <ganeshraju@gmail.com>2016-05-09 19:35:32 -0500
committerganeshraju <ganeshraju@gmail.com>2016-05-09 19:35:32 -0500
commit2ce23866a5efdba299db33aa8ec3f77bb3432e7a (patch)
tree49db2b0cead61809aec095205699acd94fddc5da
parentcff413decf877c03c670de67e002bf1d6d15a5fc (diff)
The commons-daemon component relies on hardcoded CPU strings in order toODPi-125
build and has no knowledge of AArch64. This patch adds AArch64 support and runs autoreconf to keep the commit size down.
-rw-r--r--bigtop-packages/src/common/bigtop-jsvc/0001-added-aarch64-support.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/bigtop-packages/src/common/bigtop-jsvc/0001-added-aarch64-support.patch b/bigtop-packages/src/common/bigtop-jsvc/0001-added-aarch64-support.patch
new file mode 100644
index 00000000..97d69baa
--- /dev/null
+++ b/bigtop-packages/src/common/bigtop-jsvc/0001-added-aarch64-support.patch
@@ -0,0 +1,31 @@
+From 30c659e3fc8e1d9cbc92f070a694ea224aaea2a5 Mon Sep 17 00:00:00 2001
+From: ganeshraju <ganeshraju@gmail.com>
+Date: Mon, 9 May 2016 17:47:10 -0500
+Subject: [PATCH] added aarch64 support
+
+---
+ src/native/unix/support/apsupport.m4 | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/src/native/unix/support/apsupport.m4 b/src/native/unix/support/apsupport.m4
+index db91e32..e03969a 100644
+--- a/src/native/unix/support/apsupport.m4
++++ b/src/native/unix/support/apsupport.m4
+@@ -156,7 +156,13 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
+ arm*)
+ CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
+ supported_os="arm"
+- HOST_CPU=arm;;
++ HOST_CPU=arm
++ ;;
++ aarch64*)
++ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
++ supported_os="linux"
++ HOST_CPU=aarch64
++ ;;
+ *)
+ AC_MSG_RESULT([failed])
+ AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
+--
+2.7.0
+