Android build tweaks

- Build in ARM mode, not Thumb mode (cpu.S is written in common ARM dialect)
    - Include various ABIs (phat APK)
This commit is contained in:
Aaron Culliney 2015-07-12 13:01:48 -07:00
parent 2a0a9c03b7
commit da301ded7c
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
APP_ABI := armeabi armeabi-v7a ## TODO : x86

View File

@ -12,6 +12,7 @@ include $(COMMON_SOURCES_MK)
LOCAL_MODULE := libapple2ix
LOCAL_SRC_FILES := jnihooks.c androidkeys.c
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS := $(APPLE2_BASE_CFLAGS) -DHEADLESS=0
LOCAL_LDLIBS := -llog -landroid -lGLESv2 -lz -lOpenSLES