aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common4
-rw-r--r--Makefile.rules4
2 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.common b/Makefile.common
index f002d0af06..45a25edb0a 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -843,9 +843,7 @@ $(BUILD_OBJ_DIR)/Depend/%.d: $(SourceDir)%.c $(BUILD_OBJ_DIR)/Depend/.dir
#
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
-ifneq ($(SourceDepend),)
--include $(SourceDepend)
-endif
+-include /dev/null $(SourceDepend)
endif
endif
diff --git a/Makefile.rules b/Makefile.rules
index f002d0af06..45a25edb0a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -843,9 +843,7 @@ $(BUILD_OBJ_DIR)/Depend/%.d: $(SourceDir)%.c $(BUILD_OBJ_DIR)/Depend/.dir
#
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
-ifneq ($(SourceDepend),)
--include $(SourceDepend)
-endif
+-include /dev/null $(SourceDepend)
endif
endif