mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 08:06:25 +00:00
ec0a3ea83a
- cores updated to latest commit / latest tag - retroarch updated to 1.14.0 - libzip: add PIC flag (for ppsspp)
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
PKG_NAME="openlara"
|
|
PKG_VERSION="96989ac41ae55a42b19916dc8191f74be40e1b07"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="https://github.com/libretro/openlara"
|
|
PKG_URL="${PKG_SITE}.git"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Classic Tomb Raider open-source engine"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_MAKE_OPTS_TARGET="-C src/platform/libretro/"
|
|
|
|
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
|
fi
|
|
|
|
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
PKG_MAKE_OPTS_TARGET+=" GLES=1"
|
|
fi
|
|
|
|
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${VULKAN}"
|
|
fi
|
|
|
|
pre_make_target() {
|
|
if [ "${OPENGLES}" = "bcm2835-driver" ]; then
|
|
CFLAGS+=" -I${SYSROOT_PREFIX}/usr/include/interface/vcos/pthreads \
|
|
-I${SYSROOT_PREFIX}/usr/include/interface/vmcs_host/linux"
|
|
CXXFLAGS+=" -I${SYSROOT_PREFIX}/usr/include/interface/vcos/pthreads \
|
|
-I${SYSROOT_PREFIX}/usr/include/interface/vmcs_host/linux"
|
|
fi
|
|
}
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
cp -v src/platform/libretro/*_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|