[aadk-commits] qwell: trunk r309 - in /trunk/scripts:
build-asterisk rebuild-asterisk-gui
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Tue Apr 3 10:47:48 MST 2007
Author: qwell
Date: Tue Apr 3 12:47:48 2007
New Revision: 309
URL: http://svn.digium.com/view/aadk?view=rev&rev=309
Log:
We have a configure script and Makefile for the gui...let's actually use them.
Modified:
trunk/scripts/build-asterisk
trunk/scripts/rebuild-asterisk-gui
Modified: trunk/scripts/build-asterisk
URL: http://svn.digium.com/view/aadk/trunk/scripts/build-asterisk?view=diff&rev=309&r1=308&r2=309
==============================================================================
--- trunk/scripts/build-asterisk (original)
+++ trunk/scripts/build-asterisk Tue Apr 3 12:47:48 2007
@@ -33,4 +33,8 @@
( cd ../uClinux/uClinux-dist/romfs/var/spool/asterisk ; ln -sf ../../lib/asterisk/sounds/voicemail . )
cd ../scripts
./rebuild-asterisk
+cd ../
+cd asterisk-gui
+./configure --host=bfin-uclinux CFLAGS="-g -mfdpic"
+cd ../scripts
./rebuild-asterisk-gui
Modified: trunk/scripts/rebuild-asterisk-gui
URL: http://svn.digium.com/view/aadk/trunk/scripts/rebuild-asterisk-gui?view=diff&rev=309&r1=308&r2=309
==============================================================================
--- trunk/scripts/rebuild-asterisk-gui (original)
+++ trunk/scripts/rebuild-asterisk-gui Tue Apr 3 12:47:48 2007
@@ -1,20 +1,4 @@
#!/bin/bash
cd ../
cd asterisk-gui
-STUFF='config/*.html config/images/* config/scripts/* config/stylesheets/* config/setup/*'
-set -f STUFF
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/config
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/config/images
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/config/bkps
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/config/stylesheets
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/config/scripts
-mkdir -p ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/config/setup
-for x in ${STUFF}; do
- set +f x
- rm -vf ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/${x}
- cp -v $x ../uClinux/uClinux-dist/romfs/var/lib/asterisk/static-http/`dirname "$x"`
-done
-cp -v config/gui_sysinfo ../uClinux/uClinux-dist/romfs/bin/
-chmod +x ../uClinux/uClinux-dist/romfs/bin/gui_sysinfo
+make DESTDIR=../uClinux/uClinux-dist/romfs install
More information about the aadk-commits
mailing list