Update other common sh files for new nxengine dir

This commit is contained in:
twinaphex 2014-08-22 12:08:09 +02:00
parent 559892373d
commit e0fb4e2be1
2 changed files with 4 additions and 4 deletions

View File

@ -453,7 +453,7 @@ build_libretro_gambatte()
build_libretro_nx() build_libretro_nx()
{ {
CORENAME="nx" CORENAME="nxengine"
cd $BASE_DIR cd $BASE_DIR
if [ -d "libretro-${CORENAME}" ]; then if [ -d "libretro-${CORENAME}" ]; then
echo "=== Building ${CORENAME} ===" echo "=== Building ${CORENAME} ==="
@ -464,7 +464,7 @@ build_libretro_nx()
ndk-build clean APP_ABI=${a} || die "Failed to clean ${a} ${CORENAME}" ndk-build clean APP_ABI=${a} || die "Failed to clean ${a} ${CORENAME}"
fi fi
ndk-build -j$JOBS APP_ABI=${a} || die "Failed to build ${a} ${CORENAME}" ndk-build -j$JOBS APP_ABI=${a} || die "Failed to build ${a} ${CORENAME}"
cp ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/nxengine_libretro${FORMAT}.${FORMAT_EXT} cp ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${CORENAME}_libretro${FORMAT}.${FORMAT_EXT}
done done
else else
echo "${CORENAME} not fetched, skipping ..." echo "${CORENAME} not fetched, skipping ..."

View File

@ -232,9 +232,9 @@ build_libretro_gambatte()
build_libretro_nx() build_libretro_nx()
{ {
cd $BASE_DIR cd $BASE_DIR
if [ -d "libretro-nx" ]; then if [ -d "libretro-nxengine" ]; then
echo "=== Building NXEngine ===" echo "=== Building NXEngine ==="
cd libretro-nx cd libretro-nxengine
cd nxengine-1.0.0.4/libretro/msvc cd nxengine-1.0.0.4/libretro/msvc
cmd.exe /k $MSVC_NAME.bat cmd.exe /k $MSVC_NAME.bat
cp $MSVC_NAME/$RELEASE_LTCG/${MSVC_NAME}.${FORMAT_EXT} "$RARCH_DIST_DIR"/nxengine_libretro$FORMAT.$FORMAT_EXT cp $MSVC_NAME/$RELEASE_LTCG/${MSVC_NAME}.${FORMAT_EXT} "$RARCH_DIST_DIR"/nxengine_libretro$FORMAT.$FORMAT_EXT