mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-12 21:08:15 +00:00
21 lines
639 B
Bash
Executable File
21 lines
639 B
Bash
Executable File
#!/bin/sh
|
|
|
|
make -C ../ -f Makefile.wii.salamander clean || exit 1
|
|
make -C ../ -f Makefile.wii clean || exit 1
|
|
|
|
make -C ../ -f Makefile.wii.salamander || exit 1
|
|
make -C ../ -f Makefile.wii.salamander pkg || exit 1
|
|
|
|
for f in *_wii.a ; do
|
|
name=`echo "$f" | sed 's/\(_libretro\|\)_wii.a$//'`
|
|
whole_archive=
|
|
if [ $name = "nxengine" ] ; then
|
|
whole_archive="WHOLE_ARCHIVE_LINK=1"
|
|
echo $name yes
|
|
fi
|
|
cp -f "$f" ../libretro_wii.a
|
|
make -C ../ -f Makefile.wii $whole_archive -j3 || exit 1
|
|
mv -f ../retroarch_wii.dol ../wii/pkg/$name.dol
|
|
rm -f ../retroarch_wii.dol ../retroarch_wii.elf ../retroarch_wii.elf.map
|
|
done
|