update asterisk to v1.2.14 (closes: #1097), thanks to zandbelt.
[openwrt/svn-archive/archive.git] / net / asterisk / patches / 13-Makefile-codecs-gsm.patch
1 diff -Nru asterisk-1.2.14.org/codecs/gsm/Makefile asterisk-1.2.14/codecs/gsm/Makefile
2 --- asterisk-1.2.14.org/codecs/gsm/Makefile 2006-07-24 19:05:56.000000000 +0200
3 +++ asterisk-1.2.14/codecs/gsm/Makefile 2006-12-27 09:14:51.000000000 +0100
4 @@ -241,6 +241,8 @@
5 ifneq ($(shell uname -m),armv4l)
6 ifneq ($(shell uname -m),sparc64)
7 ifneq (${PROC},arm)
8 +ifneq (${PROC},mipsel)
9 +ifneq (${PROC},mips)
10 ifneq ($(shell uname -m), parisc)
11 ifneq ($(shell uname -m),s390)
12 GSM_SOURCES+= $(SRC)/k6opt.s
13 @@ -255,6 +257,8 @@
14 endif
15 endif
16 endif
17 +endif
18 +endif
19
20 TOAST_SOURCES = $(SRC)/toast.c \
21 $(SRC)/toast_lin.c \
22 @@ -308,6 +312,8 @@
23 ifneq ($(shell uname -m), alpha)
24 ifneq ($(shell uname -m), sparc64)
25 ifneq ($(shell uname -m), armv4l)
26 +ifneq (${PROC}, mipsel)
27 +ifneq (${PROC}, mips)
28 ifneq ($(shell uname -m), parisc)
29 ifneq ($(shell uname -m),s390)
30 GSM_OBJECTS+= $(SRC)/k6opt.o
31 @@ -321,6 +327,8 @@
32 endif
33 endif
34 endif
35 +endif
36 +endif
37
38 TOAST_OBJECTS = $(SRC)/toast.o \
39 $(SRC)/toast_lin.o \