Files
makronix/refs/AGENTS.md
T

31 lines
1.1 KiB
Markdown

# refs/ -- upstream sources to read and port from
## What it is for
Read-only reference trees. Never a build input.
## What is in it
Git submodules (`.gitmodules`, all `shallow = true`):
- `netbsd/src/` -- NetBSD trunk, to compare against our `src/` fork.
- `openbsd/src/` -- OpenBSD, for reading and porting drivers.
- `linux/7.0.14/` -- kernel.org stable v7.0.14: the tree `mobile/` builds from
(`mobile/kernel/PIN`); `mobile/tools/fetch-kernel.sh` clones it locally and
applies `mobile/kernel/patches/`.
- `linux/7.0.0/`, `linux/7.4-rc1/` -- the qualcomm-sm8150 fork, kept as the
reference the extracted patches came from; not built.
## What may be changed
Only the pin: move the gitlink in the parent repository together with the
`PIN` record and the measurement that justifies it.
## What must not be touched
- Do not edit or commit inside the submodules; `git -C refs/... status` stays
clean. An imported change is a patch under `mobile/kernel/patches/` (phone)
or a commit in `src/` (desktop).
- Licences stay as upstream (OpenBSD ISC/BSD, Linux GPL-2.0).
- The Linux tree is the phone's pin, not a second kernel for the desktop.