Christopher Wiley | e867981 | 2015-07-01 13:36:18 -0700 | [diff] [blame] | 1 | This is libevent-2.0.22-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 | * Removed directories: |
| 8 | - WIN32-Code |
| 9 | - compat |
| 10 | - m4 |
| 11 | - sample |
| 12 | - test |
Christopher Wiley | 9d5e194 | 2015-07-01 13:49:45 -0700 | [diff] [blame] | 13 | * 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 Wiley | e867981 | 2015-07-01 13:36:18 -0700 | [diff] [blame] | 17 | |
| 18 | |
| 19 | To uprev this project, you'll likely need to reverse engineer the autotools |
| 20 | generated makefiles again. This is the recipe I used: |
| 21 | |
| 22 | BRANCH_ROOT=/usr/local/google/home/wiley/mnc-dev |
| 23 | PATH="${BRANCH_ROOT}/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:${PATH}" |
| 24 | NDK_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 Wiley | 5142b74 | 2015-07-07 11:43:23 -0700 | [diff] [blame] | 32 | -I${BRANCH_ROOT}/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include" \ |
| 33 | LIBS="-lc " |
Christopher Wiley | e867981 | 2015-07-01 13:36:18 -0700 | [diff] [blame] | 34 | |
| 35 | Note that I built hammerhead first and used prebuilts from the most recent NDK. |