fix bnes build

This commit is contained in:
Radius 2014-12-06 13:46:21 -05:00
parent 79215bc231
commit ad96ee831b
2 changed files with 69 additions and 63 deletions

View File

@ -5,7 +5,7 @@
# if you want to force all enabled cores to rebuild prepend FORCE=YES
# you may need to specify your make command by prepending it to the commandline, for instance MAKE=mingw32-make
#
# eg: FORCE=YES MAKE=mingw32-make ./libretro-fetch-and-build.sh buildbot.conf
# eg: FORCE=YES MAKE=mingw32-make ./libretro-fetch-and-build.sh buildbot
####environment configuration:
echo "Setting up Environment for $1"
@ -21,7 +21,7 @@ while read line; do
if [ "${KEY}" == "PATH" ];
then
export PATH=${ORIGPATH}:${VALUE}
export PATH=${VALUE}:${ORIGPATH}
echo New PATH: $PATH
else
@ -30,6 +30,8 @@ while read line; do
fi
done < $1.conf
echo
echo
. ./libretro-config.sh
@ -41,10 +43,6 @@ echo
[[ "${ARM_SOFTFLOAT}" ]] && echo 'ARM softfloat ABI enabled...' && export FORMAT_COMPILER_TARGET="${FORMAT_COMPILER_TARGET}-softfloat"
[[ "${IOS}" ]] && echo 'iOS detected...'
echo "${FORMAT_COMPILER_TARGET}"
echo "${FORMAT_COMPILER_TARGET_ALT}"
# BSDs don't have readlink -f
read_link()
{
@ -116,10 +114,17 @@ if [ -z "$CXX" ]; then
fi
fi
if [ "${CC}" ] && [ "${CXX}" ]; then
COMPILER="CC=\"${CC}\" CXX=\"${CXX}\""
else
COMPILER=""
fi
echo
echo "CC = $CC"
echo "CXX = $CXX"
echo "STRIP = $STRIP"
echo "COMPILER = $COMPILER"
echo
RESET_FORMAT_COMPILER_TARGET=$FORMAT_COMPILER_TARGET
@ -274,7 +279,7 @@ build_libretro_bsnes() {
rm -f out/*.{o,"${FORMAT_EXT}"}
if [ "${PROFILE}" == "cpp98" -o "${PROFILE}" == "bnes" ];
if [ "${PROFILE}" == "cpp98" -o "${PROFILE}" == "bnes" ];
then
${MAKE} clean
fi
@ -296,7 +301,8 @@ build_libretro_bsnes() {
${MAKE} platform="${PLATFORM}" ${COMPILER} "-j${JOBS}"
elif [ "${PROFILE}" == "bnes" ];
then
${MAKE} -f Makefile ${COMPILER} "-j${JOBS}" compiler=${BSNESCOMPILER}
echo "buid command: ${MAKE} -f Makefile ${COMPILER} "-j${JOBS}" compiler=${BSNESCOMPILER}" platform=${FORMAT_COMPILER_TARGET}
${MAKE} -f Makefile ${COMPILER} "-j${JOBS}" compiler="${BSNESCOMPILER}" platform=${FORMAT_COMPILER_TARGET}
else
echo "buid command: ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} compiler=${BSNESCOMPILER} ui='target-libretro' profile=${PROFILE} -j${JOBS}"
${MAKE} -f ${MAKEFILE} platform=${PLATFORM} compiler=${BSNESCOMPILER} ui='target-libretro' profile=${PROFILE} -j${JOBS}

View File

@ -1,57 +1,57 @@
2048 libretro-2048 https://github.com/libretro/libretro-2048.git PROJECT YES GENERIC Makefile.libretro .
3dengine libretro-3dengine https://github.com/libretro/libretro-3dengine.git PROJECT YES GENERIC_GL Makefile .
4do libretro-4do https://github.com/libretro/4do-libretro.git PROJECT YES GENERIC Makefile .
bluemsx libretro-bluemsx https://github.com/libretro/blueMSX-libretro.git PROJECT YES GENERIC Makefile.libretro .
2048 libretro-2048 https://github.com/libretro/libretro-2048.git PROJECT NO GENERIC Makefile.libretro .
3dengine libretro-3dengine https://github.com/libretro/libretro-3dengine.git PROJECT NO GENERIC_GL Makefile .
4do libretro-4do https://github.com/libretro/4do-libretro.git PROJECT NO GENERIC Makefile .
bluemsx libretro-bluemsx https://github.com/libretro/blueMSX-libretro.git PROJECT NO GENERIC Makefile.libretro .
bnes libretro-bnes https://github.com/libretro/bnes-libretro.git PROJECT YES BSNES Makefile . bnes
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT YES BSNES Makefile . accuracy
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT YES BSNES Makefile . balanced
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT YES BSNES Makefile . performance
bsnes_cplusplus98 libretro-bsnes_cplusplus98 https://github.com/libretro/bsnes-libretro-cplusplus98.git PROJECT YES BSNES Makefile . cpp98
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT YES BSNES Makefile . accuracy
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT YES BSNES Makefile . balanced
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT YES BSNES Makefile . performance
catsfc libretro-catsfc https://github.com/libretro/CATSFC-libretro.git PROJECT YES GENERIC Makefile .
desmume libretro-desmume https://github.com/libretro/desmume.git PROJECT YES GENERIC Makefile.libretro desmume
dinothawr libretro-dinothawr https://github.com/libretro/Dinothawr.git PROJECT YES GENERIC_ALT Makefile .
fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk
fba_cores_cps1 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps1
fba_cores_cps2 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps2
fba_cores_neo libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/neogeo
fceumm libretro-fceuumm https://github.com/libretro/libretro-fceumm.git PROJECT YES GENERIC Makefile.libretro .
ffmpeg libretro-ffmpeg https://github.com/libretro/FFmpeg.git PROJECT YES GENERIC_GL Makefile libretro
fmsx libretro-fmsx https://github.com/libretro/fmsx-libretro.git PROJECT YES GENERIC Makefile .
gambatte libretro-gambatte https://github.com/libretro/gambatte-libretro.git PROJECT YES GENERIC_ALT Makefile.libretro libgambatte
genesis_plus_gx libretro-genesis_plus_gx https://github.com/libretro/Genesis-Plus-GX.git PROJECT YES GENERIC Makefile.libretro .
handy libretro-handy https://github.com/libretro/libretro-handy.git PROJECT YES GENERIC Makefile .
mednafen_gba libretro-mednafen_gba https://github.com/libretro/beetle-gba-libretro.git PROJECT YES GENERIC Makefile .
mednafen_lynx libretro-mednafen_lynx https://github.com/libretro/beetle-lynx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_ngp libretro-mednafen_ngp https://github.com/libretro/beetle-ngp-libretro.git PROJECT YES GENERIC Makefile .
mednafen_pce_fast libretro-mednafen_pce_fast https://github.com/libretro/beetle-pce-fast-libretro.git PROJECT YES GENERIC Makefile .
mednafen_pcfx libretro-mednafen_pcfx https://github.com/libretro/beetle-pcfx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_psx libretro-mednafen_psx https://github.com/libretro/mednafen-psx-libretro.git PROJECT YES GENERIC Makefile .
beetle_psx libretro-beetle_psx https://github.com/libretro/beetle-psx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_snes libretro-mednafen_snes https://github.com/libretro/beetle-bsnes-libretro.git PROJECT YES GENERIC Makefile .
mednafen_supergrafx libretro-mednafen_supergrafx https://github.com/libretro/beetle-supergrafx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_vb libretro-mednafen_vb https://github.com/libretro/beetle-vb-libretro.git PROJECT YES GENERIC Makefile .
mednafen_wswan libretro-mednafen_wswan https://github.com/libretro/beetle-wswan-libretro.git PROJECT YES GENERIC Makefile .
meteor libretro-meteor https://github.com/libretro/meteor-libretro.git PROJECT YES GENERIC Makefile libretro
mupen64plus libretro-mupen64plus https://github.com/libretro/mupen64plus-libretro.git PROJECT YES GENERIC_GL Makefile . WITH_DYNAREC=x86_64
nestopia libretro-nestopia https://github.com/libretro/nestopia.git PROJECT YES GENERIC Makefile libretro
nxengine libretro-nxengine https://github.com/libretro/nxengine-libretro.git PROJECT YES GENERIC Makefile .
o2em libretro-o2em https://github.com/libretro/libretro-o2em.git PROJECT YES GENERIC Makefile .
pcsx_rearmed libretro-pcsx_rearmed https://github.com/libretro/pcsx_rearmed.git PROJECT YES GENERIC Makefile.libretro . USE_DYNAREC=0
picodrive libretro-picodrive https://github.com/libretro/picodrive.git SUBMODULE YES GENERIC Makefile.libretro .
prosystem libretro-prosystem https://github.com/libretro/prosystem-libretro.git PROJECT YES GENERIC Makefile .
quicknes libretro-quicknes https://github.com/libretro/QuickNES_Core.git PROJECT YES GENERIC Makefile libretro
remotejoy libretro-remotejoy https://github.com/libretro/libretro-remotejoy.git PROJECT YES GENERIC Makefile .
scummvm libretro-scummvm https://github.com/libretro/scummvm.git PROJECT YES GENERIC Makefile backends/platform/libretro/build
snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERIC Makefile libretro
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC Makefile .
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT YES GENERIC Makefile .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile.libretro .
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT YES GENERIC_ALT Makefile src/libretro
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT YES GENERIC Makefile.libretro .
virtualjaguar libretro-virtualjaguar https://github.com/libretro/virtualjaguar-libretro.git PROJECT YES GENERIC Makefile .
yabause libretro-yabause https://github.com/libretro/yabause.git PROJECT YES GENERIC Makefile libretro
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT NO BSNES Makefile . balanced
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT NO BSNES Makefile . performance
bsnes_cplusplus98 libretro-bsnes_cplusplus98 https://github.com/libretro/bsnes-libretro-cplusplus98.git PROJECT NO BSNES Makefile . cpp98
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT NO BSNES Makefile . accuracy
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT NO BSNES Makefile . balanced
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT NO BSNES Makefile . performance
catsfc libretro-catsfc https://github.com/libretro/CATSFC-libretro.git PROJECT NO GENERIC Makefile .
desmume libretro-desmume https://github.com/libretro/desmume.git PROJECT NO GENERIC Makefile.libretro desmume
dinothawr libretro-dinothawr https://github.com/libretro/Dinothawr.git PROJECT NO GENERIC_ALT Makefile .
fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git PROJECT NO GENERIC makefile.libretro svn-current/trunk
fba_cores_cps1 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT NO GENERIC makefile.libretro svn-current/trunk/fbacores/cps1
fba_cores_cps2 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT NO GENERIC makefile.libretro svn-current/trunk/fbacores/cps2
fba_cores_neo libretro-fba https://github.com/libretro/fba-libretro.git PROJECT NO GENERIC makefile.libretro svn-current/trunk/fbacores/neogeo
fceumm libretro-fceuumm https://github.com/libretro/libretro-fceumm.git PROJECT NO GENERIC Makefile.libretro .
ffmpeg libretro-ffmpeg https://github.com/libretro/FFmpeg.git PROJECT NO GENERIC_GL Makefile libretro
fmsx libretro-fmsx https://github.com/libretro/fmsx-libretro.git PROJECT NO GENERIC Makefile .
gambatte libretro-gambatte https://github.com/libretro/gambatte-libretro.git PROJECT NO GENERIC_ALT Makefile.libretro libgambatte
genesis_plus_gx libretro-genesis_plus_gx https://github.com/libretro/Genesis-Plus-GX.git PROJECT NO GENERIC Makefile.libretro .
handy libretro-handy https://github.com/libretro/libretro-handy.git PROJECT NO GENERIC Makefile .
mednafen_gba libretro-mednafen_gba https://github.com/libretro/beetle-gba-libretro.git PROJECT NO GENERIC Makefile .
mednafen_lynx libretro-mednafen_lynx https://github.com/libretro/beetle-lynx-libretro.git PROJECT NO GENERIC Makefile .
mednafen_ngp libretro-mednafen_ngp https://github.com/libretro/beetle-ngp-libretro.git PROJECT NO GENERIC Makefile .
mednafen_pce_fast libretro-mednafen_pce_fast https://github.com/libretro/beetle-pce-fast-libretro.git PROJECT NO GENERIC Makefile .
mednafen_pcfx libretro-mednafen_pcfx https://github.com/libretro/beetle-pcfx-libretro.git PROJECT NO GENERIC Makefile .
mednafen_psx libretro-mednafen_psx https://github.com/libretro/mednafen-psx-libretro.git PROJECT NO GENERIC Makefile .
beetle_psx libretro-beetle_psx https://github.com/libretro/beetle-psx-libretro.git PROJECT NO GENERIC Makefile .
mednafen_snes libretro-mednafen_snes https://github.com/libretro/beetle-bsnes-libretro.git PROJECT NO GENERIC Makefile .
mednafen_supergrafx libretro-mednafen_supergrafx https://github.com/libretro/beetle-supergrafx-libretro.git PROJECT NO GENERIC Makefile .
mednafen_vb libretro-mednafen_vb https://github.com/libretro/beetle-vb-libretro.git PROJECT NO GENERIC Makefile .
mednafen_wswan libretro-mednafen_wswan https://github.com/libretro/beetle-wswan-libretro.git PROJECT NO GENERIC Makefile .
meteor libretro-meteor https://github.com/libretro/meteor-libretro.git PROJECT NO GENERIC Makefile libretro
mupen64plus libretro-mupen64plus https://github.com/libretro/mupen64plus-libretro.git PROJECT NO GENERIC_GL Makefile . WITH_DYNAREC=x86_64
nestopia libretro-nestopia https://github.com/libretro/nestopia.git PROJECT NO GENERIC Makefile libretro
nxengine libretro-nxengine https://github.com/libretro/nxengine-libretro.git PROJECT NO GENERIC Makefile .
o2em libretro-o2em https://github.com/libretro/libretro-o2em.git PROJECT NO GENERIC Makefile .
pcsx_rearmed libretro-pcsx_rearmed https://github.com/libretro/pcsx_rearmed.git PROJECT NO GENERIC Makefile.libretro . USE_DYNAREC=0
picodrive libretro-picodrive https://github.com/libretro/picodrive.git SUBMODULE NO GENERIC Makefile.libretro .
prosystem libretro-prosystem https://github.com/libretro/prosystem-libretro.git PROJECT NO GENERIC Makefile .
quicknes libretro-quicknes https://github.com/libretro/QuickNES_Core.git PROJECT NO GENERIC Makefile libretro
remotejoy libretro-remotejoy https://github.com/libretro/libretro-remotejoy.git PROJECT NO GENERIC Makefile .
scummvm libretro-scummvm https://github.com/libretro/scummvm.git PROJECT NO GENERIC Makefile backends/platform/libretro/build
snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT NO GENERIC Makefile libretro
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT NO GENERIC_ALT Makefile.libretro .
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT NO GENERIC Makefile .
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT NO GENERIC Makefile .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT NO GENERIC Makefile.libretro .
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT NO GENERIC_ALT Makefile.libretro .
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT NO GENERIC_ALT Makefile src/libretro
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT NO GENERIC Makefile.libretro .
virtualjaguar libretro-virtualjaguar https://github.com/libretro/virtualjaguar-libretro.git PROJECT NO GENERIC Makefile .
yabause libretro-yabause https://github.com/libretro/yabause.git PROJECT NO GENERIC Makefile libretro