diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19e2f02..14bac3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,13 +42,12 @@ jobs: - name: Build Payload run: | make clean all - zip -r Payload.zip elfldr.elf - name: Upload Payload uses: actions/upload-artifact@v4 with: name: Payload - path: Payload.zip + path: elfldr-ps5.elf if-no-files-found: error release: @@ -70,4 +69,4 @@ jobs: with: tag_name: ${{ github.ref_name }} prerelease: true - files: Payload.zip + files: elfldr-ps5.elf diff --git a/Makefile b/Makefile index 9ca7c13..df50c96 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ endif CFLAGS := -Wall -Werror -O1 -all: elfldr.elf +all: elfldr-ps5.elf socksrv_elf.c: socksrv.elf bootstrap_elf.c: bootstrap.elf @@ -47,14 +47,14 @@ socksrv.elf: socksrv.o elfldr.o pt.o notify.o socksrv_elf.c: socksrv.elf xxd -i $^ > $@ -elfldr.elf: main.o elfldr.o pt.o notify.o +elfldr-ps5.elf: main.o elfldr.o pt.o notify.o $(CC) -o $@ $^ $(STRIP) $@ clean: rm -f bootstrap_elf.c socksrv_elf.c *.o *.elf -test: elfldr.elf +test: elfldr-ps5.elf $(PS5_DEPLOY) -h $(PS5_HOST) -p $(PS5_PORT) $^ .INTERMEDIATE: socksrv_elf.c socksrv.elf bootstrap_elf.c bootstrap.elf