From bb7bf2843368065f57520306202a674b7058b16d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 12 Oct 2025 09:16:08 -0700 Subject: [PATCH] Documented environment setup for PS2 development --- docs/README-ps2.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/README-ps2.md b/docs/README-ps2.md index dbda4459db..6d3e79a571 100644 --- a/docs/README-ps2.md +++ b/docs/README-ps2.md @@ -11,6 +11,9 @@ Credit to ## Building To build SDL library for the PS2, make sure you have the latest PS2Dev status and run: ```bash +export PS2DEV=/usr/local/ps2dev # or wherever your ps2dev installation is +export PS2SDK=$PS2DEV/ps2sdk +export PATH=$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$PS2DEV/share/ps2dev.cmake cmake --build build cmake --install build