mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
odroidgo2: add skeleton
This commit is contained in:
parent
765f8d4c8c
commit
a75059f94b
@ -2109,4 +2109,9 @@ endif
|
||||
ifeq ($(HAVE_SEGAM), 1)
|
||||
DEFINES += -DHAVE_SEGAM
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_ODROIDGO2), 1)
|
||||
DEFINES += -DHAVE_ODROIDGO2
|
||||
LIBS += -lrk_rga
|
||||
endif
|
||||
##################################
|
||||
|
@ -42,6 +42,11 @@
|
||||
#include "../../frontend/frontend_driver.h"
|
||||
#include "../common/drm_common.h"
|
||||
|
||||
#ifdef HAVE_ODROIDGO2
|
||||
#include <rk_rga/RgaApi.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
#include "../common/egl_common.h"
|
||||
#endif
|
||||
|
@ -637,3 +637,10 @@ fi
|
||||
|
||||
check_enabled 'ZLIB BUILTINZLIB' RPNG RPNG 'zlib is' false
|
||||
check_enabled V4L2 VIDEOPROCESSOR 'video processor' 'Video4linux2 is' true
|
||||
|
||||
if [ "$HAVE_ODROIDGO2" != 'no' ]; then
|
||||
check_pkgconf LIBRGA librk_rga
|
||||
if [ "$HAVE_LIBRGA" != 'yes' ]; then
|
||||
die 1 'librga is required for ODROID-GO Advance support'
|
||||
fi
|
||||
fi
|
||||
|
@ -170,3 +170,4 @@ HAVE_METAL=no # Metal support (macOS-only)
|
||||
C89_METAL=no
|
||||
HAVE_NETWORK_VIDEO=no
|
||||
HAVE_STEAM=no # Enable Steam build
|
||||
HAVE_ODROIDGO2=no # ODROID-GO Advance rotation support (requires librga)
|
||||
|
Loading…
x
Reference in New Issue
Block a user