Fix powerpc compilation errors with asterisk codecs (#1439)
[openwrt/svn-archive/archive.git] / net / asterisk / patches / 013-Makefile-codecs-gsm.patch
1 --- asterisk-1.2.14/codecs/gsm/Makefile.orig 2007-02-21 23:03:07.000000000 +0100
2 +++ asterisk-1.2.14/codecs/gsm/Makefile 2007-02-21 23:03:40.000000000 +0100
3 @@ -241,6 +241,10 @@
4 ifneq ($(shell uname -m),armv4l)
5 ifneq ($(shell uname -m),sparc64)
6 ifneq (${PROC},arm)
7 +ifneq (${PROC},armeb)
8 +ifneq (${PROC},mipsel)
9 +ifneq (${PROC},mips)
10 +ifneq (${PROC},powerpc)
11 ifneq ($(shell uname -m), parisc)
12 ifneq ($(shell uname -m),s390)
13 GSM_SOURCES+= $(SRC)/k6opt.s
14 @@ -255,6 +258,10 @@
15 endif
16 endif
17 endif
18 +endif
19 +endif
20 +endif
21 +endif
22
23 TOAST_SOURCES = $(SRC)/toast.c \
24 $(SRC)/toast_lin.c \
25 @@ -308,6 +314,11 @@
26 ifneq ($(shell uname -m), alpha)
27 ifneq ($(shell uname -m), sparc64)
28 ifneq ($(shell uname -m), armv4l)
29 +ifneq (${PROC}, arm)
30 +ifneq (${PROC}, armeb)
31 +ifneq (${PROC}, mipsel)
32 +ifneq (${PROC}, mips)
33 +ifneq (${PROC}, powerpc)
34 ifneq ($(shell uname -m), parisc)
35 ifneq ($(shell uname -m),s390)
36 GSM_OBJECTS+= $(SRC)/k6opt.o
37 @@ -321,6 +331,11 @@
38 endif
39 endif
40 endif
41 +endif
42 +endif
43 +endif
44 +endif
45 +endif
46
47 TOAST_OBJECTS = $(SRC)/toast.o \
48 $(SRC)/toast_lin.o \