Module: kamailio
Branch: master
Commit: b5022ed2f856387380d3dd8ffa8d891f52efa6b4
URL:
https://github.com/kamailio/kamailio/commit/b5022ed2f856387380d3dd8ffa8d891…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-05-13T13:31:28+02:00
Makefile.defs: enable arm aarch64 architecture
- from a patch by valentin(a)corenetdynamics.com
---
Modified: src/Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/b5022ed2f856387380d3dd8ffa8d891…
Patch:
https://github.com/kamailio/kamailio/commit/b5022ed2f856387380d3dd8ffa8d891…
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index bfc9700..6d4cbd6 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -310,6 +310,8 @@ sparc64_macros= __sparcv9 __sparc_v9__
arm_macros= __arm__ __thumb__
arm6_macros= __ARM_ARCH_6__
+aarch64_macros= __aarch64__
+
ppc_macros= __powerpc __powerpc__ __POWERPC__ __ppc__ _ARCH_PPC
ppc64_macros= __ppc64__ _ARCH_PPC64
@@ -814,6 +816,11 @@ ifeq ($(ARCH), arm6)
C_DEFS+=-DNOSMP # very unlikely to have an smp arm
endif
+ifeq ($(ARCH), aarch64)
+ use_fast_lock=yes
+ C_DEFS+=-DNOSMP
+endif
+
ifeq ($(ARCH), ppc)
use_fast_lock=yes
endif