[aadk-commits] qwell: branch upstreamsync r310 - /branches/upstreamsync/scripts/

aadk-commits at lists.digium.com aadk-commits at lists.digium.com
Tue Apr 3 10:49:20 MST 2007


Author: qwell
Date: Tue Apr  3 12:49:19 2007
New Revision: 310

URL: http://svn.digium.com/view/aadk?view=rev&rev=310
Log:
Pull in GUI script change from trunk...sort of.

Modified:
    branches/upstreamsync/scripts/build-asterisk
    branches/upstreamsync/scripts/rebuild-asterisk-gui

Modified: branches/upstreamsync/scripts/build-asterisk
URL: http://svn.digium.com/view/aadk/branches/upstreamsync/scripts/build-asterisk?view=diff&rev=310&r1=309&r2=310
==============================================================================
--- branches/upstreamsync/scripts/build-asterisk (original)
+++ branches/upstreamsync/scripts/build-asterisk Tue Apr  3 12:49:19 2007
@@ -26,4 +26,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-linux-uclibc CFLAGS="-g -mfdpic -I$AADKDIR/uClinux/uClinux-dist/staging/usr/include" LDFLAGS="-L$AADKDIR/uClinux/uClinux-dist/staging/usr/lib"
+cd ../scripts
 ./rebuild-asterisk-gui

Modified: branches/upstreamsync/scripts/rebuild-asterisk-gui
URL: http://svn.digium.com/view/aadk/branches/upstreamsync/scripts/rebuild-asterisk-gui?view=diff&rev=310&r1=309&r2=310
==============================================================================
--- branches/upstreamsync/scripts/rebuild-asterisk-gui (original)
+++ branches/upstreamsync/scripts/rebuild-asterisk-gui Tue Apr  3 12:49:19 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