summaryrefslogtreecommitdiff
path: root/build/make/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build/make/Makefile')
-rw-r--r--build/make/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/make/Makefile b/build/make/Makefile
index 63ec271b7..dc61429a9 100644
--- a/build/make/Makefile
+++ b/build/make/Makefile
@@ -330,7 +330,10 @@ endef
ifneq ($(target),)
include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk
endif
-ifeq ($(filter %clean,$(MAKECMDGOALS)),)
+
+skip_deps := $(filter %clean,$(MAKECMDGOALS))
+skip_deps += $(findstring testdata,$(MAKECMDGOALS))
+ifeq ($(strip $(skip_deps)),)
# Older versions of make don't like -include directives with no arguments
ifneq ($(filter %.d,$(OBJS-yes:.o=.d)),)
-include $(filter %.d,$(OBJS-yes:.o=.d))