Files
tqma6-yocto-mirror/docs/05-build-artifacts/README.md

45 lines
1.3 KiB
Markdown
Raw Normal View History

# Build Artifacts
## pn-buildlist
Complete list of all 264 BitBake recipes in the `tq-image-small-debug` build graph.
**Machine:** `tqma6ul-multi-mba6ulx`
**Distro:** `spaetzle` (musl)
**Yocto:** Scarthgap 5.0.11
**BitBake:** 2.8.0
## Generating fresh artifacts
```bash
cd ci-meta-tq
export ACCEPT_FSL_EULA=1
export MACHINE=tqma6ul-multi-mba6ulx
. ./setup-environment build_ut mainline
# Generate dependency graph and build list
bitbake tq-image-small-debug -g
# Output files:
# - pn-buildlist (recipe list)
# - task-depends.dot (full dependency graph, ~1.6MB)
```
## Regenerating the license table
```bash
# For each recipe in pn-buildlist, extract SRC_URI and LICENSE:
while IFS= read -r recipe; do
output=$(bitbake -e "$recipe" 2>/dev/null)
pv=$(echo "$output" | grep '^PV=' | head -1 | sed 's/^PV="//' | sed 's/"$//')
license=$(echo "$output" | grep '^LICENSE=' | head -1 | sed 's/^LICENSE="//' | sed 's/"$//')
src_uri=$(echo "$output" | grep '^SRC_URI=' | head -1 | sed 's/^SRC_URI="//' | sed 's/"$//')
first_url=$(echo "$src_uri" | grep -oP '(https?|ftp|git)://[^\s]+' | head -1 | sed 's/;.*//')
echo "\"$recipe\",\"$pv\",\"$license\",\"$first_url\""
done < pn-buildlist > license-table.csv
```
---
**Generated:** 2026-03-01