blob: d9a4fa42b978c1aaf0dee41472f4dae62133c1b0 [file] [log] [blame]
Christopher Wileye8679812015-07-01 13:36:18 -07001This is libevent-2.0.22-stable from http://libevent.org/.
2
3No changes were made apart from the following:
4
5* copied LICENSE to NOTICE
6* added empty MODULE_LICENSE_BSD_LIKE
7* Removed directories:
8 - WIN32-Code
9 - compat
10 - m4
11 - sample
12 - test
Christopher Wiley9d5e1942015-07-01 13:49:45 -070013* added Android.mk
14* added CleanSpec.mk
15* added missing include of event-internal.h to buffer.c
16* added custom include/event2/event-config.h
Christopher Wileye8679812015-07-01 13:36:18 -070017
18
19To uprev this project, you'll likely need to reverse engineer the autotools
20generated makefiles again. This is the recipe I used:
21
22BRANCH_ROOT=/usr/local/google/home/wiley/mnc-dev
23PATH="${BRANCH_ROOT}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:${PATH}"
24NDK_ROOT="${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr"
25
26./configure --host=arm --build=`./config.guess` \
27 CC=arm-eabi-gcc \
28 CPPFLAGS="-I${NDK_ROOT}/usr/include" \
29 CFLAGS="-nostdlib
30 -Wl,-rpath-link=${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
31 -L${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib
Christopher Wiley5142b742015-07-07 11:43:23 -070032 -I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" \
33 LIBS="-lc "
Christopher Wileye8679812015-07-01 13:36:18 -070034
35Note that I built hammerhead first and used prebuilts from the most recent NDK.