mirror of
https://github.com/libretro/libretro-super
synced 2025-01-26 21:35:36 +00:00
Merge pull request #662 from orbea/core
libretro-buildbot-recipe.sh: Allow building specific bsnes and mame c…
This commit is contained in:
commit
fb10ca1bb1
@ -315,9 +315,9 @@ build_libretro_generic_makefile() {
|
||||
cd "${SUBDIR}"
|
||||
|
||||
if [ "${COMMAND}" = "BSNES" ]; then
|
||||
CORE="${NAME}_accuracy ${NAME}_balanced ${NAME}_performance"
|
||||
CORE="${CORE:-${NAME}_accuracy ${NAME}_balanced ${NAME}_performance}"
|
||||
elif [ "${NAME}" = "mame2014" ]; then
|
||||
CORE="${NAME} mess2014 ume2014"
|
||||
CORE="${CORE:-${NAME} mess2014 ume2014}"
|
||||
else
|
||||
CORE="${NAME}"
|
||||
fi
|
||||
@ -472,7 +472,7 @@ build_libretro_generic_jni() {
|
||||
fi
|
||||
|
||||
if [ "${COMMAND}" = "BSNES_JNI" ]; then
|
||||
CORE="${NAME}_accuracy ${NAME}_balanced ${NAME}_performance"
|
||||
CORE="${CORE:-${NAME}_accuracy ${NAME}_balanced ${NAME}_performance}"
|
||||
else
|
||||
CORE="${NAME}"
|
||||
fi
|
||||
@ -573,7 +573,9 @@ while read line; do
|
||||
ARGS="${ARGS# }"
|
||||
ARGS="${ARGS%"${ARGS##*[![:space:]]}"}"
|
||||
|
||||
if [ "$SINGLE_CORE" ] && [ "$NAME" != "$SINGLE_CORE" ]; then
|
||||
if [ -z "${SINGLE_CORE:-}" ]; then
|
||||
CORE=""
|
||||
elif [ "$NAME" != "$SINGLE_CORE" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -20,5 +20,7 @@ if [ "${TRAVIS_BUILD_DIR}" ]; then
|
||||
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
||||
fi
|
||||
|
||||
[ -z "${NAME:-}" ] && NAME="${CORE}"
|
||||
|
||||
# only build the one core specified in $CORE
|
||||
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|
||||
FORCE=YES SINGLE_CORE="${CORE}" CORE="${NAME}" ./libretro-buildbot-recipe.sh "${RECIPE}"
|
||||
|
@ -10,5 +10,7 @@ if [ "${TRAVIS_BUILD_DIR}" ]; then
|
||||
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
||||
fi
|
||||
|
||||
[ -z "${NAME:-}" ] && NAME="${CORE}"
|
||||
|
||||
# only build the one core specified in $CORE
|
||||
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|
||||
FORCE=YES SINGLE_CORE="${CORE}" CORE="${NAME}" ./libretro-buildbot-recipe.sh "${RECIPE}"
|
||||
|
@ -21,5 +21,7 @@ if [ "${TRAVIS_BUILD_DIR}" ]; then
|
||||
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
||||
fi
|
||||
|
||||
[ -z "${NAME:-}" ] && NAME="${CORE}"
|
||||
|
||||
# only build the one core specified in $CORE
|
||||
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|
||||
FORCE=YES SINGLE_CORE="${CORE}" CORE="${NAME}" ./libretro-buildbot-recipe.sh "${RECIPE}"
|
||||
|
@ -10,5 +10,7 @@ if [ "${TRAVIS_BUILD_DIR}" ]; then
|
||||
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
||||
fi
|
||||
|
||||
[ -z "${NAME:-}" ] && NAME="${CORE}"
|
||||
|
||||
# only build the one core specified in $CORE
|
||||
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|
||||
FORCE=YES SINGLE_CORE="${CORE}" CORE="${NAME}" ./libretro-buildbot-recipe.sh "${RECIPE}"
|
||||
|
@ -21,5 +21,7 @@ if [ "${TRAVIS_BUILD_DIR}" ]; then
|
||||
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
||||
fi
|
||||
|
||||
[ -z "${NAME:-}" ] && NAME="${CORE}"
|
||||
|
||||
# only build the one core specified in $CORE
|
||||
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|
||||
FORCE=YES SINGLE_CORE="${CORE}" CORE="${NAME}" ./libretro-buildbot-recipe.sh "${RECIPE}"
|
||||
|
@ -20,5 +20,7 @@ if [ "${TRAVIS_BUILD_DIR}" ]; then
|
||||
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
||||
fi
|
||||
|
||||
[ -z "${NAME:-}" ] && NAME="${CORE}"
|
||||
|
||||
# only build the one core specified in $CORE
|
||||
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|
||||
FORCE=YES SINGLE_CORE="${CORE}" CORE="${NAME}" ./libretro-buildbot-recipe.sh "${RECIPE}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user