2013-02-17 04:35:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-02-18 01:00:39 +00:00
|
|
|
platform=xdk1
|
2013-02-17 04:35:48 +00:00
|
|
|
|
2018-02-18 01:04:22 +00:00
|
|
|
ip='192.168.178.227'
|
2013-02-17 04:35:48 +00:00
|
|
|
|
2018-02-18 00:58:34 +00:00
|
|
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Debug
|
|
|
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release
|
|
|
|
mkdir -p ../pkg/msvc/RetroArch-Xbox1/Release_LTCG
|
2013-02-17 04:35:48 +00:00
|
|
|
|
2015-09-01 14:51:17 +00:00
|
|
|
for f in *_${platform}.lib ; do
|
|
|
|
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
|
2013-02-17 04:35:48 +00:00
|
|
|
echo $name
|
2013-06-03 00:45:24 +00:00
|
|
|
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
|
2014-04-17 16:10:04 +00:00
|
|
|
echo "Applying whole archive linking for this core..."
|
2018-02-18 00:58:34 +00:00
|
|
|
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${platform}.lib
|
2018-02-18 01:08:18 +00:00
|
|
|
cmd.exe /k ${platform}_env_bigstack.bat ${name}_libretro_${platform}
|
2013-04-21 20:15:49 +00:00
|
|
|
else
|
2018-02-18 00:58:34 +00:00
|
|
|
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG/libretro_${platform}.lib
|
2018-02-18 01:08:18 +00:00
|
|
|
cmd.exe /k ${platform}_env.bat ${name}_libretro_${platform}
|
2013-04-21 20:15:49 +00:00
|
|
|
fi
|
2013-02-17 04:35:48 +00:00
|
|
|
done
|