projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add native ARM port for armv7l
[urcu.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 337ac57ca1f4d91e30480e0a34512d31837ed396..7b4600424410b8908f19ba4ee4d39ff7b07e09d4 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,7
+2,7
@@
# Process this file with autoconf to produce a configure script.
# Process this file with autoconf to produce a configure script.
-AC_INIT([userspace-rcu], [0.4.
2
], [mathieu dot desnoyers at efficios dot com])
+AC_INIT([userspace-rcu], [0.4.
4
], [mathieu dot desnoyers at efficios dot com])
AC_CONFIG_AUX_DIR([config])
AC_CANONICAL_TARGET
AC_CANONICAL_HOST
AC_CONFIG_AUX_DIR([config])
AC_CANONICAL_TARGET
AC_CANONICAL_HOST
@@
-51,6
+51,8
@@
case $host_cpu in
s390x) ARCHTYPE="s390" ;;
sparc64) ARCHTYPE="sparc64" ;;
alpha*) ARCHTYPE="alpha" ;;
s390x) ARCHTYPE="s390" ;;
sparc64) ARCHTYPE="sparc64" ;;
alpha*) ARCHTYPE="alpha" ;;
+ ia64) ARCHTYPE="gcc" ;;
+ armv7l) ARCHTYPE="armv7l" ;;
*) ARCHTYPE="unknown";;
esac
*) ARCHTYPE="unknown";;
esac
@@
-66,6
+68,9
@@
if test "x$ARCHTYPE" != xx86 -a "x$ARCHTYPE" != xppc; then
else
APISRC=tests/api_$ARCHTYPE.h
fi
else
APISRC=tests/api_$ARCHTYPE.h
fi
+if test "$ARCHTYPE" == "armv7l"; then
+ CFLAGS="-mcpu=cortex-a9 -mtune=cortex-a9 -O"
+fi
AC_SUBST(ARCHTYPE)
AC_SUBST(SUBARCHTYPE)
AC_SUBST(ARCHTYPE)
AC_SUBST(SUBARCHTYPE)
This page took
0.056425 seconds
and
4
git commands to generate.