mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
emulation: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ PKG_LIBPATH="${PKG_LIBNAME}"
|
||||
PKG_LIBVAR="BSNES2014-PERFORMANCE_LIB"
|
||||
|
||||
pre_make_target() {
|
||||
if [ "${ARCH}" = "aarch64" ];then
|
||||
if [ "${ARCH}" = "aarch64" ]; then
|
||||
LDFLAGS+=" -lgcc"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ PKG_MAKE_OPTS_TARGET="-C src/burner/libretro"
|
||||
if [ "${ARCH}" = "arm" ]; then
|
||||
PKG_MAKE_OPTS_TARGET+=" profile=performance"
|
||||
|
||||
if target_has_feature neon ; then
|
||||
if target_has_feature neon; then
|
||||
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
|
||||
fi
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if [ "${ARCH}" = "arm" ]; then
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=unix-armv"
|
||||
fi
|
||||
|
||||
if target_has_feature neon ; then
|
||||
if target_has_feature neon; then
|
||||
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
|
||||
fi
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ PKG_LIBVAR="MRBOOM_LIB"
|
||||
|
||||
PKG_MAKE_OPTS_TARGET=""
|
||||
|
||||
if target_has_feature neon ; then
|
||||
if target_has_feature neon; then
|
||||
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
|
||||
fi
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ fi
|
||||
|
||||
if [ "${ARCH}" = "arm" ]; then
|
||||
PKG_MAKE_OPTS_TARGET+=" DYNAREC=ari64"
|
||||
if target_has_feature neon ; then
|
||||
if target_has_feature neon; then
|
||||
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON_ASM=1 BUILTIN_GPU=neon"
|
||||
else
|
||||
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON_ASM=0 BUILTIN_GPU=unai"
|
||||
|
||||
@@ -19,7 +19,7 @@ PKG_LIBVAR="SNES9X2010_LIB"
|
||||
|
||||
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
|
||||
|
||||
if [ "${PROJECT}" = "Rockchip" -a "${DEVICE}" = "OdroidGoAdvance" ];then
|
||||
if [ "${PROJECT}" = "Rockchip" -a "${DEVICE}" = "OdroidGoAdvance" ]; then
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=goa_armv8_a35"
|
||||
fi
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
|
||||
|
||||
if [ "${ARCH}" = "aarch64" ]; then
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=unix-aarch64"
|
||||
elif target_has_feature neon ; then
|
||||
elif target_has_feature neon; then
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=unix-neon"
|
||||
else
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=unix"
|
||||
|
||||
Reference in New Issue
Block a user