Skip to content

Makefile: auto-enable MESA for rpi5 platforms#627

Open
jstockdale wants to merge 1 commit into
libretro:developfrom
jstockdale:claude/fix-raspberry-pi-build-6JxHL
Open

Makefile: auto-enable MESA for rpi5 platforms#627
jstockdale wants to merge 1 commit into
libretro:developfrom
jstockdale:claude/fix-raspberry-pi-build-6JxHL

Conversation

@jstockdale

@jstockdale jstockdale commented Apr 20, 2026

Copy link
Copy Markdown

Pi 5 ships only with the Mesa V3D driver; the legacy Broadcom VideoCore (-lbrcmGLESv2, /opt/vc) path does not exist. Without MESA=1 the rpi5 target fell through to the VideoCore branch and failed to link (or linked against the wrong GLES stack). Mirror the rpi4 behavior so platform=rpi5/rpi5_64 builds out of the box.

make clean && make platform=rpi5_64 -j4

Built and verified it fixes the built core on my rpi5 running ubuntu. Thanks!

Pi 5 ships only with the Mesa V3D driver; the legacy Broadcom
VideoCore (-lbrcmGLESv2, /opt/vc) path does not exist. Without
MESA=1 the rpi5 target fell through to the VideoCore branch and
failed to link (or linked against the wrong GLES stack). Mirror
the rpi4 behavior so platform=rpi5/rpi5_64 builds out of the box.

https://claude.ai/code/session_01DieYJ7DZTyMLGtbzj4JsTr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants