1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 08:06:25 +00:00
Lakka-LibreELEC/packages/lakka/libretro_cores/picodrive/package.mk
Tomáš Kelemen (vudiq) 943ce74122
picodrive: use upstream repository
libretro branch has issue with some games not having sound at all
2024-05-20 12:17:10 +02:00

31 lines
779 B
Makefile

PKG_NAME="picodrive"
PKG_VERSION="695e6de85e06d47043003664531fc491eaa91240"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/irixxxx/picodrive"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain ${PKG_NAME}:host"
PKG_DEPENDS_HOST="toolchain:host"
PKG_LONGDESC="Libretro implementation of PicoDrive. (Sega Megadrive/Genesis/Sega Master System/Sega GameGear/Sega CD/32X)"
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro -C ../"
make_host() {
if [ "${ARCH}" != "x86_64" ]; then
make -C ../cpu/cyclone CONFIG_FILE=../cyclone_config.h
fi
}
makeinstall_host() {
: # nothing to do
}
pre_make_target() {
CFLAGS+=" -I./"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v ../picodrive_libretro.so ${INSTALL}/usr/lib/libretro/
}