mirror of
https://github.com/libretro/libretro-super
synced 2025-04-09 18:44:44 +00:00
Merge pull request #106 from l3iggs/patch-3
(Android) refactor core output directory creation
This commit is contained in:
commit
6c2a2bd7de
@ -785,24 +785,14 @@ create_dist_dir()
|
|||||||
else
|
else
|
||||||
mkdir $RARCH_DIST_DIR
|
mkdir $RARCH_DIST_DIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d $RARCH_DIST_DIR/armeabi-v7a ]; then
|
for a in "${ABIS[@]}"; do
|
||||||
echo "Directory $RARCH_DIST_DIR/armeabi-v7a already exists, skipping creation..."
|
if [ -d $RARCH_DIST_DIR/${a} ]; then
|
||||||
else
|
echo "Directory $RARCH_DIST_DIR/${a} already exists, skipping creation..."
|
||||||
mkdir $RARCH_DIST_DIR/armeabi-v7a
|
else
|
||||||
fi
|
mkdir $RARCH_DIST_DIR/${a}
|
||||||
|
fi
|
||||||
if [ -d $RARCH_DIST_DIR/mips ]; then
|
done
|
||||||
echo "Directory $RARCH_DIST_DIR/mips already exists, skipping creation..."
|
|
||||||
else
|
|
||||||
mkdir $RARCH_DIST_DIR/mips
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d $RARCH_DIST_DIR/x86 ]; then
|
|
||||||
echo "Directory $RARCH_DIST_DIR/x86 already exists, skipping creation..."
|
|
||||||
else
|
|
||||||
mkdir $RARCH_DIST_DIR/x86
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build_libretro_bsnes()
|
build_libretro_bsnes()
|
||||||
@ -814,11 +804,11 @@ build_libretro_bsnes()
|
|||||||
echo "=== Building ${CORENAME} ==="
|
echo "=== Building ${CORENAME} ==="
|
||||||
cd libretro-${CORENAME}/
|
cd libretro-${CORENAME}/
|
||||||
cd perf/target-libretro/jni
|
cd perf/target-libretro/jni
|
||||||
if [ -z "${NOCLEAN}" ]; then
|
|
||||||
ndk-build clean APP_ABI=${TARGET_ABIS} || die "Failed to clean ${CORENAME}"
|
|
||||||
fi
|
|
||||||
ndk-build -j$JOBS APP_ABI=${TARGET_ABIS} || die "Failed to build ${CORENAME}"
|
|
||||||
for a in "${ABIS[@]}"; do
|
for a in "${ABIS[@]}"; do
|
||||||
|
if [ -z "${NOCLEAN}" ]; then
|
||||||
|
ndk-build clean APP_ABI=${a} || die "Failed to clean ${a} ${CORENAME}"
|
||||||
|
fi
|
||||||
|
ndk-build -j$JOBS APP_ABI=${a} || die "Failed to build ${a} ${CORENAME}"
|
||||||
cp ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/bsnes_performance_libretro${FORMAT}.${FORMAT_EXT}
|
cp ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/bsnes_performance_libretro${FORMAT}.${FORMAT_EXT}
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user