# build/ -- what the build produces Nothing here is source and nothing here is committed, except this file (`.gitignore`). Anything can be regenerated. ## Layout (as seen on 2026-11-06) - `obj/` -- the build's object tree: `tooldir.*` (cross toolchain), `destdir.amd64` (the sysroot), `releasedir/` (the release and `images/*.iso`), `distrib/**` (instkernel, ramdisks, kmods). - `logs/` -- one log per run, named `-.log`; the last line of a build log is `make exit=N`. Evidence cited in documents points here. - `pkg/`, `pkgsrc-bootstrap/`, `pkgsrc-work/` -- pkgsrc's host tools and work directories (`tools/pkgsrc-cross.mk.conf`). - `vm/`, `vmshare/`, `usrpkg.tar.gz` -- the test VM (installed via `tools/install-simple.sh`, driven by `tools/vmsh.sh`). - `distfiles/` -- the archives of the Makronix packages only (`tools/makronix-distfiles.sh fetch`); `srctree/` -- the staging directory of the source set (`make sourcesets`); `vmsession/` -- the test VM of `tools/vmsh.sh`. - The leftovers of earlier sessions (`fde*`, `probe`, `pristine`, `trash`, `*.img`, loose `*.log`, about 28 GB) were deleted on 2026-11-06 with the user's agreement. Anything new that no document refers to is a candidate again. ## Rules - `obj/releasedir/**` is not touched by hand: no write, move, delete, replace (root `AGENTS.md`, "Forbidden"). The hook refuses a command that names the path and contains a write-like token or any `>` (also `2>&1`); read without redirections, or through a script in `tools/`. - Do not run `make` inside this directory (`make -C build` is refused). - Every log you cite is kept; do not delete a log that a document names.