mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-27 02:20:29 +00:00
Add proper rpi5 build flags
closes https://github.com/libretro/Lakka-LibreELEC/issues/1982
This commit is contained in:
parent
63ed9e53ea
commit
7fa096594c
@ -55,7 +55,7 @@ pre_make_target() {
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=rpi4_64-mesa FORCE_GLES3=1"
|
||||
;;
|
||||
RPi5)
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=rpi-mesa FORCE_GLES3=1 CPUFLAGS="
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=rpi5"
|
||||
;;
|
||||
Exynos)
|
||||
PKG_MAKE_OPTS_TARGET+=" platform=odroid BOARD=ODROID-XU"
|
||||
|
@ -0,0 +1,15 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 09eb547..8109905 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -175,6 +175,10 @@ else ifneq (,$(findstring rpi,$(platform)))
|
||||
CPUFLAGS += -march=armv8-a+crc -mtune=cortex-a72
|
||||
ARM_CPUFLAGS = -mfpu=neon-fp-armv8
|
||||
endif
|
||||
+ else ifneq (,$(findstring rpi5,$(platform)))
|
||||
+ CPUFLAGS += -mcpu=cortex-a76 -mtune=cortex-a76
|
||||
+ GLES3= 1
|
||||
+ GL_LIB := -lGLESv3
|
||||
else ifneq (,$(findstring rpi,$(platform)))
|
||||
CPUFLAGS += -mcpu=arm1176jzf-s
|
||||
ARM_CPUFLAGS = -mfpu=vfp
|
Loading…
Reference in New Issue
Block a user