mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 00:39:40 +00:00
Build the HW core for tvOS
This commit is contained in:
parent
a87e483e9c
commit
b4dbb67a75
@ -240,3 +240,8 @@ libretro-build-tvos-arm64:
|
||||
extends:
|
||||
- .libretro-tvos-arm64-make-default
|
||||
- .core-defs
|
||||
|
||||
libretro-build-tvos-arm64-hw:
|
||||
extends:
|
||||
- .libretro-tvos-arm64-make-default
|
||||
- .core-defs-hw
|
||||
|
16
Makefile
16
Makefile
@ -199,11 +199,19 @@ else ifeq ($(platform), tvos-arm64)
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
HAVE_LIGHTREC = 0
|
||||
FLAGS += -DHAVE_UNISTD_H
|
||||
FLAGS += -DHAVE_UNISTD_H -DIOS=1 -DTVOS=1
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||
endif
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcrun -sdk appletvos -show-sdk-path)
|
||||
endif
|
||||
ifeq ($(HAVE_OPENGL),1)
|
||||
GL_LIB := -framework OpenGLES
|
||||
GLES = 1
|
||||
GLES3 = 1
|
||||
endif
|
||||
|
||||
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
||||
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
|
||||
|
||||
# QNX
|
||||
else ifeq ($(platform), qnx)
|
||||
|
Loading…
Reference in New Issue
Block a user