[asterisk-dev] asterisk on parisc: update codecs/gsm/Makefile
Chris Frost
chris at frostnet.net
Sat Mar 11 14:16:46 MST 2006
Attached is a quick patch that updated codecs/gsm/Makefile to not compile/build
k6opt.[so] (k6/mmx optimizations) when compiling under Linux/parisc.
I've not done any extensive testing, but asterisk compiles, runs, connects
to fwd, accepts iax calls from fwd, and can play messages to, do an echo test
with, and call digium via iax for callers.
It might also be worth mentioning the "arm" target is excluded for k6opt.s
but is not excluded for k6opt.o.
--
Chris Frost | <http://www.frostnet.net/chris/>
-------------+----------------------------------
Public PGP Key:
Email chris at frostnet.net with the subject "retrieve pgp key"
or visit <http://www.frostnet.net/chris/about/pgp_key.phtml>
-------------- next part --------------
--- asterisk-1.2.5_orig/codecs/gsm/Makefile 2006-03-11 13:09:57.000000000 -0800
+++ asterisk-1.2.5/codecs/gsm/Makefile 2006-03-11 13:09:14.000000000 -0800
@@ -236,6 +236,7 @@
ifneq ($(shell uname -m),armv4l)
ifneq ($(shell uname -m),sparc64)
ifneq (${PROC},arm)
+ifneq ($(shell uname -m), parisc)
GSM_SOURCES+= $(SRC)/k6opt.s
endif
endif
@@ -245,6 +246,7 @@
endif
endif
endif
+endif
TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \
@@ -297,6 +299,7 @@
ifneq ($(shell uname -m), alpha)
ifneq ($(shell uname -m), sparc64)
ifneq ($(shell uname -m), armv4l)
+ifneq ($(shell uname -m), parisc)
GSM_OBJECTS+= $(SRC)/k6opt.o
endif
endif
@@ -305,6 +308,7 @@
endif
endif
endif
+endif
TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \
More information about the asterisk-dev
mailing list