mirror of
https://github.com/libretro/libretro-super
synced 2024-12-01 04:03:00 +00:00
Create way to copy and rename core properly and
output to dist/android/{ABI}/ dir
This commit is contained in:
parent
961c83e3ea
commit
d94280b812
@ -64,8 +64,11 @@ build_summary_log() {
|
|||||||
copy_core_to_dist() {
|
copy_core_to_dist() {
|
||||||
[ -z "$1" ] && return 1
|
[ -z "$1" ] && return 1
|
||||||
dest="${2:-$1}"
|
dest="${2:-$1}"
|
||||||
|
if [ "$FORMAT_ABI_ANDROID" = "yes" ]; then
|
||||||
|
echo_cmd "cp \"$CORE_PREFIX$1$CORE_SUFFIX\" \"$RARCH_DIST_DIR/${dest}_libretro_android.so\""
|
||||||
|
else
|
||||||
echo_cmd "cp \"$CORE_PREFIX$1$CORE_SUFFIX\" \"$RARCH_DIST_DIR/$dest$CORE_SUFFIX\""
|
echo_cmd "cp \"$CORE_PREFIX$1$CORE_SUFFIX\" \"$RARCH_DIST_DIR/$dest$CORE_SUFFIX\""
|
||||||
|
fi
|
||||||
ret=$?
|
ret=$?
|
||||||
build_summary_log $ret "$dest"
|
build_summary_log $ret "$dest"
|
||||||
return $ret
|
return $ret
|
||||||
|
@ -41,6 +41,7 @@ case "$platform" in
|
|||||||
FORMAT=.armeabi-v7a
|
FORMAT=.armeabi-v7a
|
||||||
FORMAT_COMPILER_TARGET=android-armeabi_v7a
|
FORMAT_COMPILER_TARGET=android-armeabi_v7a
|
||||||
FORMAT_COMPILER_TARGET_ALT=android-armeabi_v7a
|
FORMAT_COMPILER_TARGET_ALT=android-armeabi_v7a
|
||||||
|
FORMAT_ABI_ANDROID=yes
|
||||||
UNAME_PLATFORM="$(uname)"
|
UNAME_PLATFORM="$(uname)"
|
||||||
HOST_PLATFORM="linux"
|
HOST_PLATFORM="linux"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user