add additional recipes

This commit is contained in:
AndresSM 2014-11-05 22:21:26 -08:00
parent 67b1aaea61
commit 9c4fc2819d
2 changed files with 54 additions and 1 deletions

View File

@ -175,6 +175,56 @@ build_libretro_generic_makefile() {
}
build_libretro_generic_gl_makefile() {
NAME=$1
DIR=$2
SUBDIR=$3
MAKEFILE=$4
PLATFORM=$5
ARGS=$6
cd $DIR
cd $SUBDIR
check_opengl
if [ -z "${NOCLEAN}" ];
then
echo "cleaning up..."
echo "cleanup command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} ${COMPILER} -j${JOBS} clean"
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} ${COMPILER} -j${JOBS} clean
if [ $? -eq 0 ];
then
echo success!
else
echo error while cleaning up
fi
fi
echo "compiling..."
if [ -z ${ARGS} ];
then
echo "buid command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} ${COMPILER} -j${JOBS}"
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} ${COMPILER} -j${JOBS}
else
echo "buid command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} ${COMPILER} -j${JOBS} ${ARGS}"
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} ${COMPILER} -j${JOBS} ${ARGS}
fi
if [ $? -eq 0 ];
then
echo success!
cp ${NAME}_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR/${NAME}_libretro$FORMAT.${FORMAT_EXT}
else
echo error while compiling $1
fi
reset_compiler_targets
}
#fetch a project and mark it for building if there have been any changes
#sleep 10
@ -251,6 +301,9 @@ while read line; do
echo building core...
if [ "${COMMAND}" == "GENERIC" ]; then
build_libretro_generic_makefile $NAME $DIR $SUBDIR $MAKEFILE ${FORMAT_COMPILER_TARGET} "${ARGS}"
elif [ "${COMMAND}" == "GL" ]; then
build_libretro_generic_gl_makefile $NAME $DIR $SUBDIR $MAKEFILE ${FORMAT_COMPILER_TARGET} "${ARGS}"
fi
else
echo core already up-to-date...

View File

@ -2,7 +2,7 @@ fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git project NO GE
fba_cores_cps1 libretro-fba https://github.com/libretro/fba-libretro.git project NO GENERIC makefile.libretro svn-current/trunk/fbacores/cps1
fba_cores_cps2 libretro-fba https://github.com/libretro/fba-libretro.git project NO GENERIC makefile.libretro svn-current/trunk/fbacores/cps2
fba_cores_neo libretro-fba https://github.com/libretro/fba-libretro.git project NO GENERIC makefile.libretro svn-current/trunk/fbacores/neogeo
mupen64plus libretro-mupen64plus https://github.com/libretro/mupen64plus-libretro.git project NO GENERIC Makefile . WITH_DYNAREC='x86_64'
mupen64plus libretro-mupen64plus https://github.com/libretro/mupen64plus-libretro.git project YES GL Makefile . WITH_DYNAREC=x86_64
nestopia libretro-nestopia https://github.com/libretro/nestopia.git project NO GENERIC Makefile libretro
pcsx_rearmed libretro-pcsx_rearmed https://github.com/libretro/pcsx_rearmed.git project NO GENERIC Makefile.libretro . USE_DYNAREC=0 TEST=1
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git project NO GENERIC Makefile .