[PATCH mtd-utils] don't include system headers in dependency files
Brian Norris
computersforpeace at gmail.com
Fri Aug 28 09:05:43 PDT 2015
System library headers are not strictly part of our build. If they are
changing beneath our feet, then we probably have bigger problems.
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
Suggested-by: Mike Frysinger <vapier at gentoo.org>
---
common.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common.mk b/common.mk
index 7c09ab0a46d0..6bfe8de85953 100644
--- a/common.mk
+++ b/common.mk
@@ -80,7 +80,7 @@ ifneq ($(BUILDDIR),$(CURDIR))
$(Q)mkdir -p $(dir $@)
endif
$(call BECHO,CC)
- $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< -g -MD -MF $(BUILDDIR)/.$(<F).dep
+ $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< -g -MMD -MF $(BUILDDIR)/.$(<F).dep
.SUFFIXES:
--
2.5.0.457.gab17608
More information about the linux-mtd
mailing list