source: packages/net/asterisk-1.4.x/patches/040-libgsm_avr32_fix.patch @ 22237

Last change on this file since 22237 was 22237, checked in by nico, 6 years ago

[packages] asterisk-1.4.x: fix build failure on avr32

File size: 1.3 KB
  • codecs/gsm/Makefile

    a b WAV49 = -DWAV49 
    3838######### probably require gcc.  
    3939 
    4040ifeq (, $(findstring $(OSARCH) , Darwin SunOS )) 
    41 ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips)) 
     41ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b armeb avr32 hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips)) 
    4242ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l s390 )) 
    4343OPTIMIZE+=-march=$(PROC) 
    4444endif 
    GSM_SOURCES = $(SRC)/add.c \ 
    209209# XXX should merge with GSM_OBJECTS 
    210210ifeq ($(OSARCH),linux-gnu) 
    211211ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc s390 )) 
    212 ifeq (,$(findstring $(PROC) , arm armv5b armeb powerpc ia64 s390 bfin mipsel mips )) 
     212ifeq (,$(findstring $(PROC) , arm armv5b armeb avr32 powerpc ia64 s390 bfin mipsel mips )) 
    213213GSM_SOURCES+= $(SRC)/k6opt.s 
    214214endif 
    215215endif 
    GSM_OBJECTS = $(SRC)/add.o \ 
    261261 
    262262ifeq ($(OSARCH),linux-gnu) 
    263263ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc )) 
    264 ifeq (,$(findstring $(PROC) , arm armv5b armeb powerpc ia64 bfin mipsel mips )) 
     264ifeq (,$(findstring $(PROC) , arm armv5b armeb avr32 powerpc ia64 bfin mipsel mips )) 
    265265GSM_OBJECTS+= $(SRC)/k6opt.o 
    266266endif 
    267267endif 
Note: See TracBrowser for help on using the repository browser.