Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross compilation for PLATFORM_DRM #3091

Merged
merged 3 commits into from
May 30, 2023

Conversation

TheLastBilly
Copy link
Contributor

@TheLastBilly TheLastBilly commented May 30, 2023

Patch to allow PLATFORM_DRM to be cross compiled more easily for the raspberry pi using custom toolchains. This is mainly targeted to those attempting to build raylib using buildroot. And example of how this patch could be used goes as follows:

make PLATFORM=PLATFORM_DRM USE_RPI_CROSS_COMPILER=TRUE RPI_TOOLCHAIN=/opt/toolchains/arm-buildroot-linux-musleabihf RPI_TOOLCHAIN_NAME=arm-buildroot-linux-musleabihf RAYLIB_LIBTYPE=SHARED

@raysan5 raysan5 merged commit a18667c into raysan5:master May 30, 2023
@raysan5
Copy link
Owner

raysan5 commented May 30, 2023

@TheLastBilly thanks for the addition!

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