allow overriding ABIS and fix nits

This commit is contained in:
radius 2017-06-04 20:05:51 -05:00
parent fd56b52549
commit c015b8a9cb

View File

@ -95,14 +95,6 @@ if [ "${CORE_JOB}" == "YES" ]; then
. $WORK/libretro-config.sh
echo ABIS-pre: $TARGET_ABIS
echo OVERRIDE: ${ABI_OVERRIDE}
if [ -z "${ABI_OVERRIDE}" ]; then
TARGET_ABIS = ${ABI_OVERRIDE}
export TARGET_ABIS = ${ABI_OVERRIDE}
fi
echo ABIS-post: $TARGET_ABIS
# ----- create dirs -----
SCRIPT=$(read_link "$0")
echo "SCRIPT: $SCRIPT"
@ -114,6 +106,13 @@ if [ "${CORE_JOB}" == "YES" ]; then
mkdir -v -p "$RARCH_DIST_DIR"
if [ "${PLATFORM}" = "android" ]; then
echo ABIS-pre: $TARGET_ABIS
echo OVERRIDE: ${ABI_OVERRIDE}
if [ -z "${ABI_OVERRIDE}" ]; then
TARGET_ABIS=${ABI_OVERRIDE}
export TARGET_ABIS=${ABI_OVERRIDE}
fi
echo ABIS-post: $TARGET_ABIS
IFS=' ' read -ra ABIS <<< "$TARGET_ABIS"
for a in "${ABIS[@]}"; do
echo $a