From 13a6d577031cb8836981c2a14c0d6bb41af76296 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 8 Feb 2020 14:38:56 -0500 Subject: [PATCH] Makefile/cmake remove legacy target naming transition helpers --- Makefile | 14 ++------------ cmake/px4_config.cmake | 20 -------------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/Makefile b/Makefile index b2961e6529..a1334905de 100644 --- a/Makefile +++ b/Makefile @@ -209,23 +209,13 @@ $(CONFIG_TARGETS_DEFAULT): all_config_targets: $(ALL_CONFIG_TARGETS) all_default_targets: $(CONFIG_TARGETS_DEFAULT) -posix: 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). -.PHONY: all posix px4_sitl_default all_config_targets all_default_targets +.PHONY: all px4_sitl_default all_config_targets all_default_targets # Multi- config targets. eagle_default: atlflight_eagle_default atlflight_eagle_qurt @@ -287,7 +277,7 @@ sizes: # All default targets that don't require a special build environment check: check_px4_sitl_default px4fmu_firmware misc_qgc_extra_firmware alt_firmware tests check_format -# quick_check builds a single nuttx and posix target, runs testing, and checks the style +# quick_check builds a single nuttx and SITL target, runs testing, and checks the style quick_check: check_px4_sitl_test check_px4_fmu-v5_default tests check_format check_%: diff --git a/cmake/px4_config.cmake b/cmake/px4_config.cmake index 9c9262c7c3..58e3db8e6a 100644 --- a/cmake/px4_config.cmake +++ b/cmake/px4_config.cmake @@ -73,27 +73,7 @@ if(NOT PX4_CONFIG_FILE) set(PX4_CONFIG_FILE "${PX4_SOURCE_DIR}/boards/${filename}" CACHE FILEPATH "path to PX4 CONFIG file" FORCE) break() endif() - - - # LEGACY form - # __