Ramon Roche 170b7b4102
feat(manifest): emit variant field from .px4board filename stem
Add an explicit "variant" field to the per-build manifest, sourced from
CMake's ${LABEL} variable which is already derived from the .px4board
filename stem (e.g. multicopter.px4board → "multicopter"). This is the
authoritative source of the variant name: CMake uses it everywhere else
in the tree for board selection.

Previously the variant was implicit in "target" (last underscore-
separated segment), forcing consumers to string-split and assume the
target always follows <board>_<variant>. Now it's a stable, machine-
readable field alongside target and label_pretty.

detect_firmware_category() now takes the variant as its first argument
instead of re-deriving it from target, removing a duplicated parse.

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2026-04-08 22:53:51 -07:00
..
2026-04-08 17:37:18 -07:00
2025-03-11 14:14:40 +01:00
2024-07-24 11:39:44 -04:00
2025-11-04 17:22:10 +01:00
2025-08-22 08:22:59 +02:00