File: platform-android.mk

package info (click to toggle)
openmsx 20.0%2Bdfsg-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,544 kB
  • sloc: cpp: 236,922; xml: 49,948; tcl: 15,056; python: 5,385; perl: 281; sh: 77; makefile: 53
file content (28 lines) | stat: -rw-r--r-- 715 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Configuration for Android, for ARM.

# Does platform require symlinks? (it is used to link the openMSX executable
# from a location inside the $PATH, which means it is not applicable for
# Android platform))
USE_SYMLINK:=false

# For Android, a shared library must eventually be build
EXEEXT:=
LIBRARYEXT:=.so

TARGET_FLAGS:=-DANDROID -fPIC

LINK_FLAGS+=-llog
#LDFLAGS+=--no-undefined

# Build a maximum set of components.
# See configure.py for LINK_MODE definition and usage
LINK_MODE:=3RD_STA_GLES

# Automatically select the cross compiler.
ifeq ($(origin CXX),default)
ifeq ($(OPENMSX_TARGET_CPU),arm)
CXX:=armv7a-linux-androideabi21-clang++
else
CXX:=$(OPENMSX_TARGET_CPU)-linux-android-clang++
endif
endif