Commit 3659fbd3 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "Makefile: skip .d inclusion for 'testdata' target"

Showing with 4 additions and 1 deletion
...@@ -330,7 +330,10 @@ endef ...@@ -330,7 +330,10 @@ endef
ifneq ($(target),) ifneq ($(target),)
include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk
endif 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 # Older versions of make don't like -include directives with no arguments
ifneq ($(filter %.d,$(OBJS-yes:.o=.d)),) ifneq ($(filter %.d,$(OBJS-yes:.o=.d)),)
-include $(filter %.d,$(OBJS-yes:.o=.d)) -include $(filter %.d,$(OBJS-yes:.o=.d))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment