[aadk-commits] qwell: trunk r137 - /trunk/scripts/rebuild-asterisk

aadk-commits at lists.digium.com aadk-commits at lists.digium.com
Fri Jan 26 10:59:36 MST 2007


Author: qwell
Date: Fri Jan 26 11:59:35 2007
New Revision: 137

URL: http://svn.digium.com/view/aadk?view=rev&rev=137
Log:
If the file already exists, we need to remove it first.

Modified:
    trunk/scripts/rebuild-asterisk

Modified: trunk/scripts/rebuild-asterisk
URL: http://svn.digium.com/view/aadk/trunk/scripts/rebuild-asterisk?view=diff&rev=137&r1=136&r2=137
==============================================================================
--- trunk/scripts/rebuild-asterisk (original)
+++ trunk/scripts/rebuild-asterisk Fri Jan 26 11:59:35 2007
@@ -5,6 +5,7 @@
 OPTIMIZE="-O4" ASTCFLAGS="-mfdpic" ASTLDFLAGS="-mfdpic" make codecs #GC_CFLAGS="" GC_LDFLAGS=""
 OPTIMIZE="-Os" ASTCFLAGS="-mfdpic" ASTLDFLAGS="-mfdpic" make #GC_CFLAGS="" GC_LDFLAGS=""
 cp -v main/asterisk ../uClinux/uClinux-dist/romfs/bin
+rm -f ../uClinux/uClinux-dist/romfs/bin/rasterisk
 ln -s asterisk ../uClinux/uClinux-dist/romfs/bin/rasterisk
 find . -name '*.so' -exec cp -v "{}" ../uClinux/uClinux-dist/romfs/usr/lib/asterisk/modules/ \;
 bfin-uclinux-strip ../uClinux/uClinux-dist/romfs/bin/asterisk



More information about the aadk-commits mailing list