mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 02:19:41 +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() {
|
||||
[ -z "$1" ] && return 1
|
||||
dest="${2:-$1}"
|
||||
echo_cmd "cp \"$CORE_PREFIX$1$CORE_SUFFIX\" \"$RARCH_DIST_DIR/$dest$CORE_SUFFIX\""
|
||||
|
||||
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\""
|
||||
fi
|
||||
ret=$?
|
||||
build_summary_log $ret "$dest"
|
||||
return $ret
|
||||
|
@ -41,6 +41,7 @@ case "$platform" in
|
||||
FORMAT=.armeabi-v7a
|
||||
FORMAT_COMPILER_TARGET=android-armeabi_v7a
|
||||
FORMAT_COMPILER_TARGET_ALT=android-armeabi_v7a
|
||||
FORMAT_ABI_ANDROID=yes
|
||||
UNAME_PLATFORM="$(uname)"
|
||||
HOST_PLATFORM="linux"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user