drastic-sa - update for S922X USE_MALI
This commit is contained in:
parent
5caf54a12d
commit
4223c52e26
1 changed files with 7 additions and 2 deletions
|
@ -10,7 +10,7 @@ PKG_DEPENDS_TARGET="toolchain rocknix-hotkey"
|
|||
PKG_LONGDESC="Install Drastic Launcher script, will dowload bin on first run"
|
||||
PKG_TOOLCHAIN="make"
|
||||
|
||||
if [ "${DEVICE}" = "S922X" ]; then
|
||||
if [ "${DEVICE}" = "S922X" -a "${USE_MALI}" != "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" libegl"
|
||||
fi
|
||||
|
||||
|
@ -33,7 +33,12 @@ makeinstall_target() {
|
|||
post_install() {
|
||||
case ${DEVICE} in
|
||||
S922X)
|
||||
LIBEGL="export SDL_VIDEO_GL_DRIVER=\/usr\/lib\/egl\/libGL.so.1 SDL_VIDEO_EGL_DRIVER=\/usr\/lib\/egl\/libEGL.so.1"
|
||||
if [ "${USE_MALI}" != "no" ]; then
|
||||
LIBEGL="export SDL_VIDEO_GL_DRIVER=\/usr\/lib\/egl\/libGL.so.1 SDL_VIDEO_EGL_DRIVER=\/usr\/lib\/egl\/libEGL.so.1"
|
||||
else
|
||||
LIBEGL=""
|
||||
fi
|
||||
|
||||
HOTKEY=""
|
||||
;;
|
||||
RK3588)
|
||||
|
|
Loading…
Reference in a new issue