From 3862089120032f93d2ac41a8aa247907456967c2 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 22 Apr 2012 20:45:51 +0200 Subject: [PATCH] Build in NX. --- libretro-build.sh | 15 ++++++++++++++- libretro-fetch.sh | 1 + libretro-install.sh | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/libretro-build.sh b/libretro-build.sh index c05a5a96..e5d3d535 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -149,12 +149,24 @@ build_libretro_meteor() cd libretro-meteor/libretro make -j4 || die "Failed to build Meteor" cp libretro.so ../libretro-meteor.so - cd ../ + cd ../.. else echo "Meteor not fetched, skipping ..." fi } +build_libretro_nx() +{ + if [ -d "libretro-nx" ]; then + echo "=== Building NXEngine ===" + cd libretro-nx + make -j4 || die "Failed to build NXEngine" + cp libretro.so libretro-nx.so + cd ../ + else + echo "NXEngine not fetched, skipping ..." + fi +} build_libretro_bsnes build_libretro_s9x @@ -166,4 +178,5 @@ build_libretro_bnes build_libretro_fceu build_libretro_gambatte build_libretro_meteor +build_libretro_nx diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 93ba78ef..8071327e 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -61,4 +61,5 @@ fetch_project "$REPO_BASE/Themaister/bnes-libretro.git" "libretro-bnes" "libretr fetch_project "$REPO_BASE/twinaphex/fceu-next.git" "libretro-fceu" "libretro/FCEU" fetch_project "$REPO_BASE/Themaister/gambatte-libretro.git" "libretro-gambatte" "libretro/Gambatte" fetch_project "$REPO_BASE/Themaister/meteor-libretro.git" "libretro-meteor" "libretro/Meteor" +fetch_project "$REPO_BASE/twinaphex/nxengine-libretro.git" "libretro-nx" "libretro/NX" diff --git a/libretro-install.sh b/libretro-install.sh index f8f4e45b..2ebaae79 100755 --- a/libretro-install.sh +++ b/libretro-install.sh @@ -23,6 +23,7 @@ LIBS="$LIBS libretro-fceu/libretro-fceu.so" LIBS="$LIBS libretro-bnes/libretro-bnes.so" LIBS="$LIBS libretro-gambatte/libretro-gambatte.so" LIBS="$LIBS libretro-meteor/libretro-meteor.so" +LIBS="$LIBS libretro-nx/libretro-nx.so" for lib in $LIBS do