| 1 | # Configuration for Android, for ARM. |
| 2 | |
| 3 | # Does platform require symlinks? (it is used to link the openMSX executable |
| 4 | # from a location inside the $PATH, which means it is not applicable for |
| 5 | # Android platform)) |
| 6 | USE_SYMLINK:=false |
| 7 | |
| 8 | # For Android, a shared library must eventually be build |
| 9 | EXEEXT:= |
| 10 | LIBRARYEXT:=.so |
| 11 | |
| 12 | TARGET_FLAGS:=-DANDROID -fPIC |
| 13 | |
| 14 | LINK_FLAGS+=-llog |
| 15 | #LDFLAGS+=--no-undefined |
| 16 | |
| 17 | # Build a maximum set of components. |
| 18 | # See configure.py for LINK_MODE definition and usage |
| 19 | LINK_MODE:=3RD_STA_GLES |
| 20 | |
| 21 | # Automatically select the cross compiler. |
| 22 | |
| 23 | |
| 24 | CXX:=armv7a-linux-androideabi21-clang++ |
| 25 | else |
| 26 | CXX:=$(OPENMSX_TARGET_CPU)-linux-android-clang++ |
| 27 | endif |
| 28 | endif |