add webOS to ffmpeg core Makefile (#18521)

This commit is contained in:
Craig 2025-12-23 04:02:18 +00:00 committed by GitHub
parent d3284ca9f3
commit 81f05fb652
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,6 +200,22 @@ endif
LIBS += -L.
endif
# webOS
ifneq (,$(or $(findstring webos,$(CROSS_COMPILE)),$(findstring starfish,$(CROSS_COMPILE))))
ARCH_X86 = 0
ARCH_X86_64 = 0
ifneq (,$(findstring arm,$(CROSS_COMPILE)))
HAVE_ARMV6 = 1
HAVE_NEON = 1
else
ARCH_AARCH64 = 1
endif
HAVE_OPENGL = 1
GLES = 1
GL_LIB := -lGLESv2
HAVE_SSA := 0
endif
ifeq ($(LIBRETRO_SWITCH), 1)
CFLAGS += -DUPSTREAM_VERSION=\"$(shell cat ../RELEASE)\"
endif