RetroArch/dist-scripts/xdk1-cores.sh

23 lines
755 B
Bash
Raw Normal View History

2013-02-17 05:35:48 +01:00
#!/bin/sh
2018-02-18 02:00:39 +01:00
platform=xdk1
2013-02-17 05:35:48 +01:00
2018-02-18 02:04:22 +01:00
ip='192.168.178.227'
2013-02-17 05:35:48 +01:00
2018-02-18 01:58:34 +01: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 05:35:48 +01:00
2015-09-01 16:51:17 +02:00
for f in *_${platform}.lib ; do
name=`echo "$f" | sed "s/\(_libretro_${platform}\|\).lib$//"`
2013-02-17 05:35:48 +01:00
echo $name
if [ $name = "tyrquake" ] || [ $name = "genesis_plus_gx" ] ; then
echo "Applying whole archive linking for this core..."
2018-02-18 01:58:34 +01:00
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG_BigStack/libretro_${platform}.lib
2018-02-18 02:08:18 +01:00
cmd.exe /k ${platform}_env_bigstack.bat ${name}_libretro_${platform}
else
2018-02-18 01:58:34 +01:00
cp -f "$f" ../pkg/msvc/RetroArch-Xbox1/Release_LTCG/libretro_${platform}.lib
2018-02-18 02:08:18 +01:00
cmd.exe /k ${platform}_env.bat ${name}_libretro_${platform}
fi
2013-02-17 05:35:48 +01:00
done