Update to match current attempts.

svn:r20828
This commit is contained in:
Jacob Appelbaum 2009-10-25 03:36:52 +00:00
parent c805ae6340
commit 425493f9fd
1 changed files with 7 additions and 2 deletions

View File

@ -48,12 +48,16 @@ We need to set to environment variables for droid-gcc:
export DROID_ROOT=~/mydroid/ export DROID_ROOT=~/mydroid/
export DROID_TARGET=generic export DROID_TARGET=generic
# XXX TODO:
# Do we need this?
Build zlib: Build zlib:
cd ~/mydroid/external/zlib cd ~/mydroid/external/zlib
export ZLIBDIR=`pwd` export ZLIBDIR=`pwd`
CC=droid-gcc LD=droid-ld ./configure CC=droid-gcc LD=droid-ld ./configure
make make
# XXX TODO:
# Do we need this?
Build openssl: Build openssl:
cd ~/mydroid/external/openssl/include/openssl/ cd ~/mydroid/external/openssl/include/openssl/
export OPENSSLDIR=`pwd` export OPENSSLDIR=`pwd`
@ -63,10 +67,11 @@ Build openssl:
Fetch and build libevent: Fetch and build libevent:
cd ~/mydroid/external/libevent cd ~/mydroid/external/libevent
svn co https://levent.svn.sourceforge.net/svnroot/levent . svn co https://levent.svn.sourceforge.net/svnroot/levent/tags/release-1.4.12-stable/libevent/ .
cd trunk/libevent/
export LIBEVENTDIR=`pwd` export LIBEVENTDIR=`pwd`
./autogen.sh ./autogen.sh
# http://pastebin.ca/1577159
patch < /tmp/libevent-patch
CC=droid-gcc LD=droid-ld ./configure --host=arm-none-linux-gnueabi CC=droid-gcc LD=droid-ld ./configure --host=arm-none-linux-gnueabi
make make