|
|
|
@ -347,7 +347,8 @@ python_coverage:
@@ -347,7 +347,8 @@ python_coverage:
|
|
|
|
|
|
|
|
|
|
# static analyzers (scan-build, clang-tidy, cppcheck)
|
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
|
.PHONY: scan-build posix_sitl_default-clang clang-tidy clang-tidy-fix clang-tidy-quiet cppcheck shellcheck_all |
|
|
|
|
.PHONY: scan-build posix_sitl_default-clang clang-tidy clang-tidy-fix clang-tidy-quiet |
|
|
|
|
.PHONY: cppcheck shellcheck_all validate_module_configs |
|
|
|
|
|
|
|
|
|
scan-build: |
|
|
|
|
@export CCC_CC=clang
|
|
|
|
@ -386,6 +387,9 @@ shellcheck_all:
@@ -386,6 +387,9 @@ shellcheck_all:
|
|
|
|
|
@$(SRC_DIR)/Tools/run-shellcheck.sh $(SRC_DIR)/ROMFS/px4fmu_common/
|
|
|
|
|
@make px4fmu-v2_default shellcheck
|
|
|
|
|
|
|
|
|
|
validate_module_configs: |
|
|
|
|
@find $(SRC_DIR)/src/modules $(SRC_DIR)/src/drivers $(SRC_DIR)/src/lib -name *.yaml -type f -print0 | xargs -0 $(SRC_DIR)/Tools/validate_yaml.py --schema-file $(SRC_DIR)/validation/module_schema.yaml
|
|
|
|
|
|
|
|
|
|
# Cleanup
|
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
|
.PHONY: clean submodulesclean submodulesupdate gazeboclean distclean |
|
|
|
|