From 8f8c09eaa720815049f6fe833367e6fbf1dfc0a7 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sat, 26 Mar 2022 04:23:29 +0000 Subject: [PATCH] psp: add all required inc and lib dirs for a fully functional toolchain this makes it so psp-gcc finds all libraries installed via psp-libraries (now deprecated) and its successor, psp-packages. --- configs/psp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/psp b/configs/psp index 6f94185..cbfa77f 100755 --- a/configs/psp +++ b/configs/psp @@ -19,7 +19,11 @@ done cat << EOF1 > psp-gcc #!/bin/sh DIR=\$(dirname \$(readlink -f "\$0")) -"\$DIR"/mipsallegrexel-psp-elf-gcc "\$@" -L"\$DIR"/../psp/sdk/lib -lgcc -lm \ +"\$DIR"/mipsallegrexel-psp-elf-gcc \ +-I"\$DIR"/../psp/include -I"\$DIR"/../psp/sdk/include \ +"\$@" \ +-L"\$DIR"/../psp/sdk/lib -L"\$DIR"/../psp/lib \ +-lgcc -lm \ -Wl,--start-group -lcglue -lc -Wl,--end-group \ -lpsputility -lpsprtc -lpspnet_inet -lpspnet_resolver -lpspmodinfo \ -lpspuser -lpspkernel -lgcc -- 2.11.4.GIT