1 This is libevent-2.1.8-stable from http://libevent.org/. 2 3 No changes were made apart from the following: 4 5 * copied LICENSE to NOTICE 6 * added empty MODULE_LICENSE_BSD_LIKE 7 * added Android.mk 8 * added CleanSpec.mk 9 * added missing include of event-internal.h to buffer.c 10 * added custom include/event2/event-config.h 11 12 13 To uprev this project, you'll likely need to reverse engineer the autotools 14 generated makefiles again. This is the recipe I used: 15 16 BRANCH_ROOT=/usr/local/google/home/wiley/mnc-dev 17 PATH="${BRANCH_ROOT}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:${PATH}" 18 NDK_ROOT="${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr" 19 20 ./configure --host=arm --build=`./config.guess` \ 21 CC=arm-eabi-gcc \ 22 CPPFLAGS="-I${NDK_ROOT}/usr/include" \ 23 CFLAGS="-nostdlib 24 -Wl,-rpath-link=${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib 25 -L${BRANCH_ROOT}/out/target/product/hammerhead/obj/lib 26 -I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" \ 27 LIBS="-lc " 28 29 Note that I built hammerhead first and used prebuilts from the most recent NDK. 30