]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/asterisk
Enable isdn modules and addons (mISDN, lcr, asterisk) on arm.
[people/teissler/ipfire-2.x.git] / lfs / asterisk
index e1a39773faf081d4de4289ec31a5b1f4f91979d4..496e47e406cffe9a2a80d04241a678a73f8d9f73 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2011  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -31,7 +31,6 @@ DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-SUP_ARCH   = i586
 PROG       = asterisk
 PAK_VER    = 5
 
@@ -115,6 +114,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && cp -fv $(DIR_DL)/asterisk-extra-sounds-en-gsm-1.4.9.tar.gz $(DIR_APP)/sounds/
        cd $(DIR_APP) && cp -fv $(DIR_DL)/asterisk-moh-opsound-gsm.tar.gz $(DIR_APP)/sounds/
 
+       # Remove wrong cpu optimization (march=armv5tel)
+       cd $(DIR_APP) && sed -i -e "s|^PROC=.*||g" makeopts
+
        # compile and install
        cd $(DIR_APP) && make $(MAKETUNING) all
        cd $(DIR_APP) && make install