mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
* PKG: optimize `lr-scummvm-legacy` - reduce number of linked engines (only LITE+ & no WIP) - cap framerate & increase audio_buffer (lr-option) * PKG: optimize `lr-scummvm` - disable Tooltip - reduce engines count (inline with standalone) - cap framerate->15Hz & samplerate-> 44100Hz (increase cursor speed)
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From 2a25e6b5e20fd9638d6da37fef29165eb63a6db0 Mon Sep 17 00:00:00 2001
|
|
From: Apaczer <94932128+Apaczer@users.noreply.github.com>
|
|
Date: Thu, 30 Jan 2025 21:12:31 +0100
|
|
Subject: [PATCH 1/3] LIBRETRO-Makefile: optimize by reducing engines count
|
|
|
|
also -fno-PIC
|
|
---
|
|
backends/platform/libretro/build/Makefile | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/backends/platform/libretro/build/Makefile b/backends/platform/libretro/build/Makefile
|
|
index 25d141eb551..066f6472422 100644
|
|
--- a/backends/platform/libretro/build/Makefile
|
|
+++ b/backends/platform/libretro/build/Makefile
|
|
@@ -283,15 +283,17 @@ else ifeq ($(platform), miyoo)
|
|
LD = /opt/miyoo/usr/bin/arm-linux-g++
|
|
AR = /opt/miyoo/usr/bin/arm-linux-ar cru
|
|
RANLIB = /opt/miyoo/usr/bin/arm-linux-ranlib
|
|
- DEFINES += -DDINGUX -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s -fPIC
|
|
+ DEFINES += -DDINGUX -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s -fno-PIC
|
|
DEFINES += -ffunction-sections -fdata-sections
|
|
- LDFLAGS += -shared -Wl,--gc-sections -Wl,--version-script=../link.T -fPIC
|
|
+ LDFLAGS += -shared -Wl,--gc-sections -Wl,--version-script=../link.T -fno-PIC
|
|
USE_VORBIS = 0
|
|
USE_THEORADEC = 0
|
|
USE_TREMOR = 1
|
|
USE_LIBCO = 0
|
|
HAVE_MT32EMU = 0
|
|
NO_HIGH_DEF := 1
|
|
+ LITE := 1
|
|
+ NO_WIP := 1
|
|
|
|
else ifeq ($(platform), android-armv7)
|
|
TARGET := $(TARGET_NAME)_libretro_android.so
|
|
--
|
|
2.45.2.windows.1
|
|
|