From e29b9b5d392f166cb4ca87d2c9ea84a6da13db96 Mon Sep 17 00:00:00 2001 From: Carlo Wood <carlo@alinoe.com> Date: Thu, 27 Oct 2016 00:10:00 +0200 Subject: [PATCH] Remove fake config targets. The "targets" posix_rpi_common, qurt_sdflight_default and posix_sdflight_default are not real targets; they are just files in cmake/configs that are included by other targets. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a030ac158..89c3b8c212 100644 --- a/Makefile +++ b/Makefile @@ -147,7 +147,7 @@ define colorecho endef # Get a list of all config targets. -ALL_CONFIG_TARGETS := $(basename $(shell find "$(SRC_DIR)/cmake/configs" -name '*.cmake' -print | sed -e 's:^.*/::' | sort)) +ALL_CONFIG_TARGETS := $(basename $(shell find "$(SRC_DIR)/cmake/configs" ! -name '*_common*' ! -name '*_sdflight_*' -name '*.cmake' -print | sed -e 's:^.*/::' | sort)) # Strip off leading nuttx_ NUTTX_CONFIG_TARGETS := $(patsubst nuttx_%,%,$(filter nuttx_%,$(ALL_CONFIG_TARGETS))) -- GitLab