parent
77456b1785
commit
cb8d58d454
9
BUILD
9
BUILD
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue