[aadk-commits] qwell: trunk r73 - in /trunk/scripts: build-asterisk
rebuild-asterisk
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Fri Dec 15 11:55:47 MST 2006
Author: qwell
Date: Fri Dec 15 12:55:46 2006
New Revision: 73
URL: http://svn.digium.com/view/aadk?view=rev&rev=73
Log:
Since modules are now an option, let's go ahead and install them if they're there.
To use modules, you'll need to rebuild the toolchain with the updated uClibc libdl/dlopen.
Modified:
trunk/scripts/build-asterisk
trunk/scripts/rebuild-asterisk
Modified: trunk/scripts/build-asterisk
URL: http://svn.digium.com/view/aadk/trunk/scripts/build-asterisk?view=diff&rev=73&r1=72&r2=73
==============================================================================
--- trunk/scripts/build-asterisk (original)
+++ trunk/scripts/build-asterisk Fri Dec 15 12:55:46 2006
@@ -18,6 +18,7 @@
mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/sounds/meetme
mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/sounds/voicemail
mkdir -p ../uClinux/uClinux-dist/romfs/var/spool/asterisk
+mkdir -p ../uClinux/uClinux-dist/romfs/usr/lib/asterisk/modules
( cd ../uClinux/uClinux-dist/romfs/var/lib/asterisk ; ln -sf sounds/moh . )
( cd ../uClinux/uClinux-dist/romfs/var/spool/asterisk ; ln -sf ../../lib/asterisk/sounds/meetme . )
( cd ../uClinux/uClinux-dist/romfs/var/spool/asterisk ; ln -sf ../../lib/asterisk/sounds/voicemail . )
Modified: trunk/scripts/rebuild-asterisk
URL: http://svn.digium.com/view/aadk/trunk/scripts/rebuild-asterisk?view=diff&rev=73&r1=72&r2=73
==============================================================================
--- trunk/scripts/rebuild-asterisk (original)
+++ trunk/scripts/rebuild-asterisk Fri Dec 15 12:55:46 2006
@@ -5,4 +5,6 @@
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
+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