Add PS2 platfrom into the libretro-buildbot-recipe

This commit is contained in:
Francisco Javier Trujillo Mata 2018-12-30 17:22:10 +01:00
parent ff77770b3f
commit 2040e12d6c

View file

@ -1154,6 +1154,37 @@ if [ "${PLATFORM}" = "psp1" ] && [ "${RA}" = "YES" ]; then
fi
fi
if [ "${PLATFORM}" = "ps2" ] && [ "${RA}" = "YES" ]; then
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then
cd dist-scripts
rm *.a
cp -v $RARCH_DIST_DIR/*.a .
time sh ./dist-cores.sh ps2 2>&1 | tee -a "$LOGFILE"
RET=${PIPESTATUS[0]}
buildbot_handle_message "$RET" "$ENTRY_ID" "retroarch" "$jobid" "$LOGFILE"
if [ $RET -eq 0 ]; then
touch $TMPDIR/built-frontend
fi
ENTRY_ID=""
echo "Packaging"
cd $WORK/$RADIR
cp retroarch.cfg retroarch.default.cfg
mkdir -p pkg/ps2/
mkdir -p pkg/ps2/info
cp -v $RARCH_DIST_DIR/../info/*.info pkg/ps2/info/
fi
fi
if [ "${PLATFORM}" == "libnx" ] && [ "${RA}" == "YES" ]; then
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" -o "${FORCE_RETROARCH_BUILD}" == "YES" -o "${CORES_BUILT}" == "YES" ]; then