mirror of
				https://github.com/Thesola10/umd-livepatch.git
				synced 2025-08-09 22:02:02 +00:00 
			
		
		
		
	drop librsync
This commit is contained in:
		
							parent
							
								
									411d51929e
								
							
						
					
					
						commit
						bb78ea9012
					
				
							
								
								
									
										1
									
								
								.ccls
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.ccls
									
									
									
									
									
								
							@ -4,7 +4,6 @@ gcc
 | 
			
		||||
-I/usr/local/pspdev/psp/include
 | 
			
		||||
-I/usr/local/pspdev/psp/sdk/include
 | 
			
		||||
-I.
 | 
			
		||||
-I./librsync/src
 | 
			
		||||
-std=c99
 | 
			
		||||
-Os
 | 
			
		||||
-G0
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										15
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								Makefile
									
									
									
									
									
								
							@ -1,7 +1,3 @@
 | 
			
		||||
 | 
			
		||||
LIBRSYNC := librsync
 | 
			
		||||
CMAKE := psp-cmake
 | 
			
		||||
 | 
			
		||||
TARGET = umd_livepatch
 | 
			
		||||
C_OBJS = io_funcs.o main.o
 | 
			
		||||
OBJS = $(C_OBJS) imports.o
 | 
			
		||||
@ -14,7 +10,7 @@ CFLAGS += -DDEBUG=$(DEBUG)
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
LDFLAGS =  -nostartfiles -L .
 | 
			
		||||
LIBS = -lpspsystemctrl_kernel -lrsync
 | 
			
		||||
LIBS = -lpspsystemctrl_kernel
 | 
			
		||||
 | 
			
		||||
PSP_FW_VERSION = 660
 | 
			
		||||
 | 
			
		||||
@ -31,15 +27,6 @@ libpspsystemctrl_kernel.a:
 | 
			
		||||
	$(MAKE) -C $(ARKROOT)/libs/SystemCtrlForKernel
 | 
			
		||||
	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
 | 
			
		||||
 | 
			
		||||
include $(PSPSDK)/lib/build.mak
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user