fix fresh-install build: add preflight script, restore third_party binaries, remove WebEngine dep

- Add build_preflight.sh to create obj/ dirs that git can't track (body/board/obj, panda/board/obj)
- Wire preflight into build_only.sh and launch_chffrplus.sh
- Restore missing third_party binaries (libyuv, snpe, acados, maplibre) that were text pointers
- Remove dead Qt5WebEngineWidgets dependency from UI SConscript

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-15 01:26:40 +00:00
parent 7221c8e216
commit 9d5c838fe3
71 changed files with 5261 additions and 14 deletions

11
build_preflight.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/bash
# CLEARPILOT: build preflight — create directories and fix state that
# git cannot track but the build requires. Called by build_only.sh and
# launch_chffrplus.sh before scons runs.
BASEDIR="${BASEDIR:-/data/openpilot}"
# SConscript files write generated headers into obj/ directories at
# parse time — these must exist before scons starts.
mkdir -p "$BASEDIR/body/board/obj"
mkdir -p "$BASEDIR/panda/board/obj"