drop librsync

This commit is contained in:
TheSola10 2025-04-02 21:50:50 +02:00
parent 411d51929e
commit bb78ea9012
Signed by: thesola10
GPG Key ID: 89245619BEBB95BA
3 changed files with 1 additions and 17 deletions

1
.ccls
View File

@ -4,7 +4,6 @@ gcc
-I/usr/local/pspdev/psp/include -I/usr/local/pspdev/psp/include
-I/usr/local/pspdev/psp/sdk/include -I/usr/local/pspdev/psp/sdk/include
-I. -I.
-I./librsync/src
-std=c99 -std=c99
-Os -Os
-G0 -G0

View File

@ -1,7 +1,3 @@
LIBRSYNC := librsync
CMAKE := psp-cmake
TARGET = umd_livepatch TARGET = umd_livepatch
C_OBJS = io_funcs.o main.o C_OBJS = io_funcs.o main.o
OBJS = $(C_OBJS) imports.o OBJS = $(C_OBJS) imports.o
@ -14,7 +10,7 @@ CFLAGS += -DDEBUG=$(DEBUG)
endif endif
LDFLAGS = -nostartfiles -L . LDFLAGS = -nostartfiles -L .
LIBS = -lpspsystemctrl_kernel -lrsync LIBS = -lpspsystemctrl_kernel
PSP_FW_VERSION = 660 PSP_FW_VERSION = 660
@ -31,15 +27,6 @@ libpspsystemctrl_kernel.a:
$(MAKE) -C $(ARKROOT)/libs/SystemCtrlForKernel $(MAKE) -C $(ARKROOT)/libs/SystemCtrlForKernel
cp $(ARKROOT)/libs/SystemCtrlForKernel/libpspsystemctrl_kernel.a . cp $(ARKROOT)/libs/SystemCtrlForKernel/libpspsystemctrl_kernel.a .
librsync:
git clone https://github.com/librsync/librsync
librsync.a: $(LIBRSYNC)
mkdir rsync_build
cd rsync_build; $(CMAKE) $(shell realpath $(LIBRSYNC)); make
mv rsync_build/librsync.a .
rm -rf rsync_build
$(TARGET).prx:: libpspsystemctrl_kernel.a $(TARGET).prx:: libpspsystemctrl_kernel.a
include $(PSPSDK)/lib/build.mak include $(PSPSDK)/lib/build.mak

View File

@ -1,8 +1,6 @@
#include "io_funcs.h" #include "io_funcs.h"
#include "rpatch.h" #include "rpatch.h"
#include <prototab.h>
int int
lp_PatchSet_open(const char *path) lp_PatchSet_open(const char *path)
{ {