copy trunk to buildroot-ng branch
[openwrt.git] / package / asterisk / patches / asterisk-1.2.0-Makefile-codecs-gsm.patch
1 diff -ruN asterisk-1.2.0-old/codecs/gsm/Makefile asterisk-1.2.0-new/codecs/gsm/Makefile
2 --- asterisk-1.2.0-old/codecs/gsm/Makefile      2005-11-08 04:31:45.000000000 +0100
3 +++ asterisk-1.2.0-new/codecs/gsm/Makefile      2005-12-04 13:31:50.000000000 +0100
4 @@ -236,6 +236,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  GSM_SOURCES+= $(SRC)/k6opt.s
11  endif
12  endif
13 @@ -246,6 +247,8 @@
14  endif
15  endif
16  endif
17 +endif
18 +endif
19  
20  TOAST_SOURCES = $(SRC)/toast.c                 \
21                 $(SRC)/toast_lin.c      \
22 @@ -299,6 +301,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  GSM_OBJECTS+= $(SRC)/k6opt.o
29  endif
30  endif
31 @@ -308,6 +311,8 @@
32  endif
33  endif
34  endif
35 +endif
36 +endif
37  
38  TOAST_OBJECTS =        $(SRC)/toast.o          \
39                 $(SRC)/toast_lin.o      \