mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(Wii) Improve build script
This commit is contained in:
parent
b7d1ab6aea
commit
8781251750
1 changed files with 5 additions and 1 deletions
6
dist-scripts/wii-cores.sh
Normal file → Executable file
6
dist-scripts/wii-cores.sh
Normal file → Executable file
|
@ -1,11 +1,15 @@
|
|||
#!/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$//'`
|
||||
cp -f "$f" ../libretro_wii.a
|
||||
make -C ../ -f Makefile.wii -j3 || exit 1
|
||||
mv -f ../retroarch_wii.dol "$name.dol"
|
||||
mv -f ../retroarch_wii.dol ../wii/pkg/$name.dol
|
||||
rm -f ../retroarch_wii.dol ../retroarch_wii.elf ../retroarch_wii.elf.map
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue