1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 00:38:44 +00:00

odroidgo2: add skeleton

This commit is contained in:
natinusala 2020-02-24 19:44:00 +01:00
parent 765f8d4c8c
commit a75059f94b
4 changed files with 18 additions and 0 deletions

View File

@ -2109,4 +2109,9 @@ endif
ifeq ($(HAVE_SEGAM), 1)
DEFINES += -DHAVE_SEGAM
endif
ifeq ($(HAVE_ODROIDGO2), 1)
DEFINES += -DHAVE_ODROIDGO2
LIBS += -lrk_rga
endif
##################################

View File

@ -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

View File

@ -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

View File

@ -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)