# HG changeset patch # User Sam Lantinga # Date 1294203942 28800 # Node ID 730b234ba9ecd60454d7a7293b9cadd8cc6aacbc # Parent c92950635837e82a69a270e4f3f5175ce7d479eb Backed down to NDK R4b diff -r c92950635837 -r 730b234ba9ec Makefile.android --- a/Makefile.android Tue Jan 04 20:37:07 2011 -0800 +++ b/Makefile.android Tue Jan 04 21:05:42 2011 -0800 @@ -2,8 +2,14 @@ include ./android/config.cfg #get ANDROID_NDK, ANDROID_NDK_HOST -TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/$(ANDROID_NDK_HOST)/bin -ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include +# For NDK R4 +TOOLS_PATH=$(ANDROID_NDK)/build/prebuilt/$(ANDROID_NDK_HOST)/arm-eabi-4.2.1/bin +ANDROID_INCLUDES = -I$(ANDROID_NDK)/build/platforms/android-4/arch-arm/usr/include + +# For NDK R5 +#TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/$(ANDROID_NDK_HOST)/bin +#ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include + INCLUDE = -I./include CFLAGS = -g -O2 -fno-short-enums $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static diff -r c92950635837 -r 730b234ba9ec android/project/default.properties --- a/android/project/default.properties Tue Jan 04 20:37:07 2011 -0800 +++ b/android/project/default.properties Tue Jan 04 21:05:42 2011 -0800 @@ -8,4 +8,4 @@ # project structure. # Project target. -target=android-7 +target=android-4