Commit Graph

23 Commits

Author SHA1 Message Date
Francisco Javier Trujillo Mata
8a0ab6b14e Adding pthreadglue support 2022-03-26 14:31:53 +01:00
David Guillen Fandos
fd8c305142 Use gcc-ar and gcc-ranlib wrappers
These wrappers use the --plugin flags to properly support LTO, other
than that it's a transparent change.
2022-03-22 21:49:43 +01:00
Wouter Wijsman
a51d8066da Clean up setting pkg-config executable
I found out the cache part wasn't needed.
2022-03-15 16:13:37 +01:00
Wouter Wijsman
560d558e30 Use psp-pkg-config for FindPkgConfig in CMake
This make it so that when using the following code:

```
include(FindPkgConfig)
pkg_search_module(SDL2 REQUIRED sdl2)
```

The variables ``${SDL2_INCLUDE_DIRS}`` and ``${SDL2_LIBRARIES}`` are set to the expected values within CMake.
2022-03-15 16:09:04 +01:00
Wouter Wijsman
745d5483a0 Allow setting ENC_PRX as argument
This make it a bit easier to deal, since encrypting a PRX makes it no longer work in psplink, but you might want to use it in an automated release.
2022-01-12 13:46:35 +01:00
Wouter Wijsman
34fb512ae2 Add comment to install prefix 2021-12-24 20:44:40 +01:00
Wouter Wijsman
1db6cd197e Fix inconsistant behaviour with install prefix
Somehow it was still sometimes not working. I have no idea why that was, but setting is to cache and path fixed it for me.
2021-12-24 20:42:43 +01:00
Wouter Wijsman
321cff4ee4 Set CMAKE_INSTALL_PREFIX correctly
CMAKE_TARGET_INSTALL_PREFIX isn't actually documented anywhere on the cmake website, so I guess that was a mistake. This change does not seem to cause warnings while building applications.
2021-12-23 20:35:34 +01:00
Wouter Wijsman
8911f4ea72 Add BUILD_PRX option to cmake 2021-12-15 23:37:18 +01:00
Wouter Wijsman
a94a5e4027 Don't make psp_artifacts directory
This makes it much easier to use psplink, since you'll no longer need to copy the prx into the build directory upon each build.
2021-12-15 23:23:01 +01:00
Francisco Javier Trujillo Mata
98b7d836ee Create specific modinfo library 2021-12-06 21:24:44 +01:00
Francisco Javier Trujillo Mata
e66eddd9b3 Add pspsdk to the standard libs 2021-12-04 14:22:35 +01:00
Wouter Wijsman
75085d4970 Also set PSP definition for gcc and cmake 2021-11-17 22:35:02 +01:00
Wouter Wijsman
074a740bce Add CreatePBP.cmake and add some variables relied on by software 2021-11-17 15:45:44 +01:00
Francisco Javier Trujillo Mata
6e80c9bd29 Add the cmake toolchain file to the base sdk and psp share dir to variables 2021-11-15 15:25:02 +01:00
Francisco Javier Trujillo Mata
514f7947d7 Improve base makefiles to be used with the new POSIX and standard environment 2021-11-15 15:25:02 +01:00
Carsten Teibes
7c6e46b487 Remove outdated svn ids, change url, fix permissions
Convert to unix line endings
2020-05-08 00:50:41 +02:00
Jessica Stokes
7cb699f0b8 Remove the -mno-crt0 flag from build_prx.mak
`-mno-crt0` does not exist in current versions of psp-gcc installed by the toolchain, and `-nostartfiles` appears to be equivalent.
2018-08-17 21:42:01 -07:00
Sam Hegarty
467e14b708 remove fake-sign section from build.mak for "pure" elf type executable 2011-12-13 15:22:20 +13:00
Sam Hegarty
581fe4b853 add PrxEncrypter to tools 2011-12-07 04:39:59 +13:00
Sam Hegarty
b9c1b53f0e Allow for psp-fixup-imports to be disabled 2011-08-13 11:36:29 +12:00
Sam Hegarty
62459981b4 Allow for prevention of psp-fixup-imports.
- means export only modules can be built by adding NO_FIXUP_IMPORTS=1
2011-08-13 11:30:36 +12:00
Dan Peori
8a3bef9012 first commit 2010-10-18 12:54:49 -03:00