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

Add PSP as a supported platform #425

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fa0ad4d
make ipv6 support optional
tpimh Feb 26, 2024
7b0aae7
add getaddrinfo by Motoyuki Kasahara
tpimh Feb 26, 2024
4975a42
rough inclusion of external getaddrinfo
tpimh Feb 26, 2024
f5dcb51
add psp to the list of supported platforms
tpimh Feb 26, 2024
c0a5be8
add symbian_stubs.c from perl5 by Nokia
tpimh Feb 27, 2024
cc86141
add netdb.h from libphoenix by Jan Sikorski and Michal Miroslaw
tpimh Feb 27, 2024
bde7767
remove unused functions from netdb-compat
tpimh Feb 27, 2024
59c66e3
add herror.c from MiNTLib
tpimh Feb 27, 2024
8b5739d
compile netdb-compat as a part of the build process
tpimh Feb 27, 2024
4a6a522
add PSP config file
tpimh Feb 27, 2024
b41e0a0
add sockaddr storage struct from libevent by Niels Provos and Nick Ma…
tpimh Feb 28, 2024
69d4916
final fixes for building for PSP without IPv6 support
tpimh Feb 28, 2024
fe6d7ee
link against static Lua library on PSP
tpimh Feb 28, 2024
adc12c9
add gethostname function for PSP
tpimh Feb 29, 2024
e236459
a very hacky way to build static libraries
tpimh Feb 29, 2024
675c4d4
add sys/un.h from FreeBSD
tpimh Feb 29, 2024
bfb76ff
cleanup unused definitions from psp-un header
tpimh Feb 29, 2024
68c6e7d
use psp-un header when building for psp
tpimh Feb 29, 2024
a1bbc69
ignore static library binaries in version control
tpimh Feb 29, 2024
e2499fe
only compile platform-specific code for PSP
tpimh Mar 3, 2024
dedc748
only include platform specific headers on PSP
tpimh Mar 3, 2024
1731ae0
fix psp installation prefix
tpimh May 28, 2024
4ceb858
retire LUAV for libraries and includes (only one lua version at a time)
tpimh Jul 12, 2024
fc8bad2
sockaddr_storage is included in new pspsdk
tpimh Jul 12, 2024
44551d9
add a less hacky static target for psp
tpimh Jul 12, 2024
92f11f8
create a combined header when linking statically
tpimh Jul 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.o
*.so
*.so.*
*.a
*.obj
*.lib
*.dll*
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
# print print the build settings

PLAT?= linux
PLATS= macosx linux win32 win64 mingw freebsd solaris
PLATS= macosx linux win32 win64 mingw freebsd solaris psp

all: $(PLAT)

$(PLATS) none install install-unix local clean:
$(PLATS) none install install-unix install-static local clean:
$(MAKE) -C src $@

print:
Expand Down
13 changes: 13 additions & 0 deletions src/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* This file is needed to compile PSP stubs
*/

#define STDC_HEADERS
#define HAVE_STRING_H
#define HAVE_MEMORY_H
#define HAVE_STDLIB_H
//#define ENABLE_PTHREAD
//#define ENABLE_NLS
#define HAVE_MEMCPY

#include "netdb-compat.h"
Loading
Loading