mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(Xbox) Fix dist-scripts
This commit is contained in:
parent
60b8a25203
commit
e7cde2c4ef
@ -4,19 +4,19 @@ platform=xdk
|
|||||||
|
|
||||||
ip='192.168.1.10'
|
ip='192.168.1.10'
|
||||||
|
|
||||||
mkdir -p ../msvc/RetroArch-Xbox1/Debug
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Debug
|
||||||
mkdir -p ../msvc/RetroArch-Xbox1/Release
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release
|
||||||
mkdir -p ../msvc/RetroArch-Xbox1/Release_LTCG
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release_LTCG
|
||||||
|
|
||||||
for f in *_${platform}.lib ; do
|
for f in *_${platform}.lib ; do
|
||||||
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
|
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
|
||||||
echo $name
|
echo $name
|
||||||
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
|
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
|
||||||
echo "Applying whole archive linking for this core..."
|
echo "Applying whole archive linking for this core..."
|
||||||
cp -f "$f" ../msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${platform}.lib
|
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${platform}.lib
|
||||||
cmd.exe /k xdk1_env_bigstack.bat ${name}_libretro_xdk1
|
cmd.exe /k xdk1_env_bigstack.bat ${name}_libretro_xdk1
|
||||||
else
|
else
|
||||||
cp -f "$f" ../msvc/RetroArch-Xbox1/Release_LTCG/libretro_${platform}.lib
|
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG/libretro_${platform}.lib
|
||||||
cmd.exe /k xdk1_env.bat ${name}_libretro_xdk1
|
cmd.exe /k xdk1_env.bat ${name}_libretro_xdk1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
:end
|
:end
|
||||||
|
|
||||||
cd ../msvc/
|
cd ../pkg/msvc/
|
||||||
devenv /clean Release_LTCG RetroArch-Xbox1.sln
|
devenv /clean Release_LTCG RetroArch-Xbox1.sln
|
||||||
devenv /build Release_LTCG RetroArch-Xbox1.sln
|
devenv /build Release_LTCG RetroArch-Xbox1.sln
|
||||||
copy RetroArch-Xbox1\Release_LTCG\RetroArch.xbe RetroArch-Xbox1\%1.xbe
|
copy RetroArch-Xbox1\Release_LTCG\RetroArch.xbe RetroArch-Xbox1\%1.xbe
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
:end
|
:end
|
||||||
|
|
||||||
cd ../msvc/
|
cd ../pkg/msvc/
|
||||||
devenv /clean Release_LTCG_BigStack RetroArch-Xbox1.sln
|
devenv /clean Release_LTCG_BigStack RetroArch-Xbox1.sln
|
||||||
devenv /build Release_LTCG_BigStack RetroArch-Xbox1.sln
|
devenv /build Release_LTCG_BigStack RetroArch-Xbox1.sln
|
||||||
copy RetroArch-Xbox1\Release_LTCG_BigStack\RetroArch.xbe RetroArch-Xbox1\%1.xbe
|
copy RetroArch-Xbox1\Release_LTCG_BigStack\RetroArch.xbe RetroArch-Xbox1\%1.xbe
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
platform=xdk360
|
platform=xdk360
|
||||||
|
|
||||||
mkdir -p ../msvc/RetroArch-360/Debug
|
mkdir -p ../pkg/msvc/RetroArch-360/Debug
|
||||||
mkdir -p ../msvc/RetroArch-360/Release
|
mkdir -p ../pkg/msvc/RetroArch-360/Release
|
||||||
mkdir -p ../msvc/RetroArch-360/Release_LTCG
|
mkdir -p ../pkg/msvc/RetroArch-360/Release_LTCG
|
||||||
|
|
||||||
for f in *_${platform}.lib ; do
|
for f in *_${platform}.lib ; do
|
||||||
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
|
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
|
||||||
echo $name
|
echo $name
|
||||||
cp -f "$f" ../msvc/RetroArch-360/Release_LTCG/libretro_${platform}.lib
|
cp -f "$f" ../pkg/msvc/RetroArch-360/Release_LTCG/libretro_${platform}.lib
|
||||||
cmd.exe /k ${platform}_env.bat ${name}_libretro_${platform}
|
cmd.exe /k ${platform}_env.bat ${name}_libretro_${platform}
|
||||||
done
|
done
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
:end
|
:end
|
||||||
|
|
||||||
cd ../msvc/
|
cd ../pkg/msvc/
|
||||||
msbuild RetroArch-360.sln /p:Configuration=Release_LTCG
|
msbuild RetroArch-360.sln /p:Configuration=Release_LTCG
|
||||||
copy RetroArch-360\Release_LTCG\CORE.xex RetroArch-360\%1.xex
|
copy RetroArch-360\Release_LTCG\CORE.xex RetroArch-360\%1.xex
|
||||||
del RetroArch-360\Release_LTCG\CORE.xex
|
del RetroArch-360\Release_LTCG\CORE.xex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user