Skip to content

Commit 81f05fb

Browse files
authored
add webOS to ffmpeg core Makefile (#18521)
1 parent d3284ca commit 81f05fb

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

cores/libretro-ffmpeg/Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,22 @@ endif
200200
LIBS += -L.
201201
endif
202202

203+
# webOS
204+
ifneq (,$(or $(findstring webos,$(CROSS_COMPILE)),$(findstring starfish,$(CROSS_COMPILE))))
205+
ARCH_X86 = 0
206+
ARCH_X86_64 = 0
207+
ifneq (,$(findstring arm,$(CROSS_COMPILE)))
208+
HAVE_ARMV6 = 1
209+
HAVE_NEON = 1
210+
else
211+
ARCH_AARCH64 = 1
212+
endif
213+
HAVE_OPENGL = 1
214+
GLES = 1
215+
GL_LIB := -lGLESv2
216+
HAVE_SSA := 0
217+
endif
218+
203219
ifeq ($(LIBRETRO_SWITCH), 1)
204220
CFLAGS += -DUPSTREAM_VERSION=\"$(shell cat ../RELEASE)\"
205221
endif

0 commit comments

Comments
 (0)