ver: print PX4_BOARD_LABEL for 'ver all'

This commit is contained in:
Beat Küng
2021-11-11 08:38:42 -05:00
committed by Daniel Agar
parent dbacdedad1
commit fdf8461452
3 changed files with 12 additions and 0 deletions
+3
View File
@@ -217,6 +217,9 @@ int ver_main(int argc, char *argv[])
}
if (show_all) {
printf("Build variant: %s\n", px4_board_target_label());
}
if (show_all || !strncmp(argv[1], sz_ver_gcc_str, sizeof(sz_ver_gcc_str))) {
printf("Toolchain: %s, %s\n", px4_toolchain_name(), px4_toolchain_version());