Skip to content

Makefile.ps5: Add missing assets to list.#22

Merged
john-tornblom merged 1 commit into
ps5-payload-dev:masterfrom
rootlis:fix/Makefile-assets
May 19, 2026
Merged

Makefile.ps5: Add missing assets to list.#22
john-tornblom merged 1 commit into
ps5-payload-dev:masterfrom
rootlis:fix/Makefile-assets

Conversation

@rootlis

@rootlis rootlis commented May 19, 2026

Copy link
Copy Markdown
Contributor

install-ps5.c includes 6 assets, but only 3 are listed in the Makefile. Missing ftpsrv-ps5.elf from the list allows make to try building ftpsrv-ps5-install.elf before ftpsrv-ps5.elf is available.

That can happen, for example, when a build script automatically sets the environment variable MAKEFLAGS="-j2", resulting in:

/opt/ps5-payload-sdk/bin/prospero-clang -Wall -Werror -DVERSION_TAG=\"d5cf56-dirty\" -I. -DTITLE_ID=\"BREW10001\" -o ftpsrv-ps5.elf srv.c cmd.c notify.c io.c self.c sha256.c main-prospero.c cmd-prospero.c self-prospero.c io-freebsd.c
/opt/ps5-payload-sdk/bin/prospero-clang -Wall -Werror -DVERSION_TAG=\"d5cf56-dirty\" -I. -DTITLE_ID=\"BREW10001\" -o ftpsrv-ps5-install.elf install-ps5.c -lSceIpmi -lSceAppInstUtil
<inline asm>:7:9: error: Could not find incbin file 'ftpsrv-ps5.elf'
    7 | .incbin "ftpsrv-ps5.elf"
      |         ^
1 error generated.
make: *** [Makefile:43: ftpsrv-ps5-install.elf] Error 1
make: *** Waiting for unfinished jobs....

This PR fixes the build failure bug and includes the other 2 missing assets for completeness.

install-ps5.c includes 6 assets, but only 3 are listed in the Makefile.
Missing ftpsrv-ps5.elf from the list allows make to try building
ftpsrv-ps5-install.elf before ftpsrv-ps5.elf is available.
@john-tornblom john-tornblom merged commit 6d79de6 into ps5-payload-dev:master May 19, 2026
4 checks passed
@john-tornblom

Copy link
Copy Markdown
Contributor

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants