Skip to content

cross compilation for PLATFORM_DRM#3091

Merged
raysan5 merged 3 commits intoraysan5:masterfrom
TheLastBilly:drm-crosscompile
May 30, 2023
Merged

cross compilation for PLATFORM_DRM#3091
raysan5 merged 3 commits intoraysan5:masterfrom
TheLastBilly:drm-crosscompile

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