mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Makefile add board rename deprecation warning
This commit is contained in:
committed by
David Sidrane
parent
ec4c9da253
commit
f22f331e4a
14
Makefile
14
Makefile
@@ -184,7 +184,19 @@ $(CONFIG_TARGETS_DEFAULT):
|
|||||||
all_default_targets: $(CONFIG_TARGETS_DEFAULT)
|
all_default_targets: $(CONFIG_TARGETS_DEFAULT)
|
||||||
|
|
||||||
posix: px4_sitl_default
|
posix: px4_sitl_default
|
||||||
posix_sitl_default: px4_sitl_default
|
|
||||||
|
# board reorganization deprecation warnings (2018-11-22)
|
||||||
|
define deprecation_warning
|
||||||
|
$(warning $(1) has been deprecated and will be removed, please use $(2)!)
|
||||||
|
endef
|
||||||
|
|
||||||
|
px4fmu-%_default:
|
||||||
|
$(call deprecation_warning, ${@},$(subst px4fmu,px4_fmu,$@))
|
||||||
|
$(MAKE) $(subst px4fmu,px4_fmu, $@)
|
||||||
|
|
||||||
|
posix_sitl_default:
|
||||||
|
$(call deprecation_warning, ${@},px4_sitl_default)
|
||||||
|
$(MAKE) px4_sitl_default
|
||||||
|
|
||||||
# All targets with just dependencies but no recipe must either be marked as phony (or have the special @: as recipe).
|
# All targets with just dependencies but no recipe must either be marked as phony (or have the special @: as recipe).
|
||||||
.PHONY: all posix px4_sitl_default all_nuttx_targets all_default_targets
|
.PHONY: all posix px4_sitl_default all_nuttx_targets all_default_targets
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ build_script:
|
|||||||
# fetch all submodules in parallel
|
# fetch all submodules in parallel
|
||||||
- call bash --login -c "cd $repopath && git submodule -q update --init --recursive --jobs=10"
|
- call bash --login -c "cd $repopath && git submodule -q update --init --recursive --jobs=10"
|
||||||
# make SITL
|
# make SITL
|
||||||
- call bash --login -c "cd $repopath && make posix"
|
- call bash --login -c "cd $repopath && make px4_sitl_default"
|
||||||
# make pixracer to check NuttX build
|
# make pixracer to check NuttX build
|
||||||
- call bash --login -c "cd $repopath && make px4_fmu-v4_default"
|
- call bash --login -c "cd $repopath && make px4_fmu-v4_default"
|
||||||
# run tests
|
# run tests
|
||||||
|
|||||||
Reference in New Issue
Block a user