summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-08-19 20:13:03 +0400
committerTim-Philipp Müller <tim@centricular.com>2014-08-19 21:53:52 +0100
commit8aadeaaa8a948d7ce62008789ab03e9aa514c2b9 (patch)
tree0bfdc8c4bd8741ef31503c3fbe749b757d4b05ab /m4
parent36388a18d37d72f9633bf1a8c06d18d310d215bb (diff)
common: Add support for ARC architecture
GStreamer could be built for and run on Synopsys DesignWare ARC cores. More information about these CPUs could be found at: http://www.synopsys.com/IP/PROCESSORIP/ARCPROCESSORS Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/gst-arch.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/gst-arch.m4 b/m4/gst-arch.m4
index 077a20b..33a92b9 100644
--- a/m4/gst-arch.m4
+++ b/m4/gst-arch.m4
@@ -45,6 +45,9 @@ AC_DEFUN([AG_GST_ARCH],
xalpha*)
HAVE_CPU_ALPHA=yes
AC_DEFINE(HAVE_CPU_ALPHA, 1, [Define if the target CPU is an Alpha]) ;;
+ xarc*)
+ HAVE_CPU_ARC=yes
+ AC_DEFINE(HAVE_CPU_ARC, 1, [Define if the target CPU is an ARC]) ;;
xarm*)
HAVE_CPU_ARM=yes
AC_DEFINE(HAVE_CPU_ARM, 1, [Define if the target CPU is an ARM]) ;;
@@ -84,6 +87,7 @@ AC_DEFUN([AG_GST_ARCH],
AM_CONDITIONAL(HAVE_CPU_PPC, test "x$HAVE_CPU_PPC" = "xyes")
AM_CONDITIONAL(HAVE_CPU_PPC64, test "x$HAVE_CPU_PPC64" = "xyes")
AM_CONDITIONAL(HAVE_CPU_ALPHA, test "x$HAVE_CPU_ALPHA" = "xyes")
+ AM_CONDITIONAL(HAVE_CPU_ARC, test "x$HAVE_CPU_ARC" = "xyes")
AM_CONDITIONAL(HAVE_CPU_ARM, test "x$HAVE_CPU_ARM" = "xyes")
AM_CONDITIONAL(HAVE_CPU_SPARC, test "x$HAVE_CPU_SPARC" = "xyes")
AM_CONDITIONAL(HAVE_CPU_HPPA, test "x$HAVE_CPU_HPPA" = "xyes")
@@ -104,7 +108,7 @@ AC_DEFUN([AG_GST_UNALIGNED_ACCESS], [
AC_MSG_CHECKING([if unaligned memory access works correctly])
if test x"$as_cv_unaligned_access" = x ; then
case $host in
- alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
+ alpha*|arc*|arm*|hp*|mips*|sh*|sparc*|ia64*)
_AS_ECHO_N([(blacklisted) ])
as_cv_unaligned_access=no
;;