Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (20 sloc) 933 Bytes
#!/bin/bash -x
#
source scripts/env
# Make sure we have a valid environment before we continue
./scripts/checkenv
if [[ $? -ne 0 ]]; then
exit 1
fi
cd $ERL_HOME
SKIP=("appmon" "asn1" "common_test" "cosEvent" "cosEventDomain" "cosFileTransfer" "cosNotification" "cosProperty" "cosTime" "cosTransactions" "wx" "debugger" "ssh" "test_server" "toolbar" "odbc" "orber" "reltool" "observer" "dialyzer" "docbuilder" "edoc" "et" "gs" "hipe" "runtime_tools" "percept" "pman" "inviso" "tv" "typer" "webtool" "jinterface" "megaco" "mnesia" "erl_interface" "diameter" "pcre")
for item in ${SKIP[*]}
do
touch "lib/$item/SKIP"
done
export ANDROID_SYS_ROOT=$ANDROID_NDK_ROOT
./otp_build autoconf
./otp_build configure --xcomp-conf=xcomp/erl-xcomp-android.conf --with-ssl=$COUCH_ANDROID_HOME/build/deps/openssl/android-platform_external_openssl
./otp_build boot -a
./otp_build release -a $COUCH_ANDROID_HOME/build/deps/otp_rel
exit 0