mirror of
https://github.com/mihawk-99/PS5_RetroArch.git
synced 2026-10-18 23:09:29 -05:00
The frontend now builds into a signed title, and the PS5 driver is in
RetroArch's table in the image that ships, not only in the source.
bash tools/build-title.sh
-> 225 of 225 sources compiled, archived into build/ra/libretroarch.a
-> dist/PPSA99169/eboot.bin, 8,026,239 bytes
container: signed, plaintext; 12 segments; integrity: valid
digest 71c88975040535a02b462618dd394a7a378034272c9bffa43ce0ca4b717ab9b7
(identical across two consecutive builds)
readelf -r build/ra/obj/gfx_video_driver.c.o
-> .rela.data.video_drivers holds exactly two entries: video_ps5, video_null
nm build/llvm-pie.elf
-> video_ps5, video_null, rarch_main and a single main
bash tools/check-manifest.sh
-> 7 files match their digests, none extra, eboot.bin magic 4f153d1d, and it
fails as it should when one byte of the image is changed
tools/verify.sh
-> PASS (format unit build integration evidence)
Registration and entry point. The port's changes are applied by
tools/apply-port-patches.py to the configured copy under build/ra-conf and never
to vendor/retroarch; patches/series names both. RetroArch's own main is compiled
out with -DHAVE_MAIN, the flag its desktop build passes, so src/main.cpp supplies
the only one and calls rarch_main.
Five faults fixed on the way, each recorded in docs/PHASE_LOG.md: the build read
sources from vendor/ and headers from build/ra-conf, so the driver table in the
image had no ps5 entry; 36 hand-written -DHAVE_* flags included six features
configure had turned off; config.h alone is not enough because a source can test a
feature before it is reached (libchdr without zlib); five Linux-only subsystems
were in the object list and are now off at their own configure switches; and two
link-time stubs the pipeline refuses needed -DNDEBUG and -DZSTD_TRACE=0.
The abandoned route is removed: deploy.py, console-launch.sh, check-payload.sh,
scaffold-native.sh, build-native-app.sh, install-title.sh and deploy.sh. Every
tool named by another tool now exists - tools/fetch-retroarch.sh was named by
three tools and three documents and had never been committed, and it now pins
RetroArch at v1.22.2 (69a4f0e) and drops the history so upstream cannot be
committed into. The gate scripts that had never been written are written:
lint-shell, lint-format, check-manifest. The template's unit test, which built a
test for a file that does not exist here, is replaced by tests/test_frontend.py.
The title has not run yet. It is built, signed and manifested; the folder has to
reach /data/homebrew/PPSA99169, and writes from this machine do not take on that
console.
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
# Raw runs, captures and build output stay out of the repository: the distilled
|
|
# artifact under evidence/ is what gets committed. These are this project's
|
|
# generated paths; docs/REFERENCE.md names the same set.
|
|
|
|
# Fetched upstream tree, patched by tools/fetch-upstream.sh. Never committed and
|
|
# never edited: changes live in patches/. A manually extracted tarball next to
|
|
# the repository root is ignored under its own name too. The committed baseline
|
|
# in reference/ is not covered by this rule and is always tracked.
|
|
vendor/
|
|
RetroArch-*/
|
|
|
|
# Cross-build output, the prepared upstream tree, the staged title folder, and the
|
|
# copy of it handed to the console's owner. All four are the same artifact at
|
|
# different points in one pipeline; the source they come from is what is committed.
|
|
build/
|
|
dist/
|
|
handoff/
|
|
work/
|
|
|
|
# Fetched dependencies (host test framework, graphics SDK packages).
|
|
.deps/
|
|
|
|
# Raw console captures. The distilled record under evidence/ is what is kept, so
|
|
# evidence/ is deliberately not ignored.
|
|
klog/
|
|
|
|
# Payload and library artifacts, staged or loose.
|
|
*.elf
|
|
*.so
|
|
*.prx
|
|
|
|
# Local console address and credentials.
|
|
.env
|
|
|
|
# Editor and host noise.
|
|
*.o
|
|
*.a
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# The header configure generates, at any tree root. It is written into the
|
|
# configured copy under build/, which is not committed; an older build script also
|
|
# copied it here, and a generated file must never be able to dirty the tree.
|
|
config.h
|