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

aadk-commits at lists.digium.com aadk-commits at lists.digium.com
Mon Jan 29 09:20:28 MST 2007


Author: qwell
Date: Mon Jan 29 10:20:27 2007
New Revision: 138

URL: http://svn.digium.com/view/aadk?view=rev&rev=138
Log:
No need to run two processes to do the symlink.

Modified:
    trunk/scripts/rebuild-asterisk

Modified: trunk/scripts/rebuild-asterisk
URL: http://svn.digium.com/view/aadk/trunk/scripts/rebuild-asterisk?view=diff&rev=138&r1=137&r2=138
==============================================================================
--- trunk/scripts/rebuild-asterisk (original)
+++ trunk/scripts/rebuild-asterisk Mon Jan 29 10:20:27 2007
@@ -5,8 +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
+ln -sf 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
 bfin-uclinux-strip ../uClinux/uClinux-dist/romfs/usr/lib/asterisk/modules/*.so



More information about the aadk-commits mailing list