summaryrefslogtreecommitdiff
path: root/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch
blob: 372d6970e152f53241472b05eace10dcd81b111c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff -ruN asterisk-1.2.0-old/codecs/gsm/Makefile asterisk-1.2.0-new/codecs/gsm/Makefile
--- asterisk-1.2.0-old/codecs/gsm/Makefile	2005-11-08 04:31:45.000000000 +0100
+++ asterisk-1.2.0-new/codecs/gsm/Makefile	2005-12-04 13:31:50.000000000 +0100
@@ -236,6 +236,8 @@
 ifneq ($(shell uname -m),armv4l)
 ifneq ($(shell uname -m),sparc64)
 ifneq (${PROC},arm)
+ifneq (${PROC},mipsel)
+ifneq (${PROC},mips)
 GSM_SOURCES+= $(SRC)/k6opt.s
 endif
 endif
@@ -246,6 +247,8 @@
 endif
 endif
 endif
+endif
+endif
 
 TOAST_SOURCES = $(SRC)/toast.c 		\
 		$(SRC)/toast_lin.c	\
@@ -299,6 +301,8 @@
 ifneq ($(shell uname -m), alpha)
 ifneq ($(shell uname -m), sparc64)
 ifneq ($(shell uname -m), armv4l)
+ifneq (${PROC}, mipsel)
+ifneq (${PROC}, mips)
 GSM_OBJECTS+= $(SRC)/k6opt.o
 endif
 endif
@@ -308,6 +311,8 @@
 endif
 endif
 endif
+endif
+endif
 
 TOAST_OBJECTS =	$(SRC)/toast.o 		\
 		$(SRC)/toast_lin.o	\