Skip to contentSkip to conversation

don't include system headers in dependency files

PATCH In review Brian Norris 2 participants 3 messages Aug 28, 2015 – Aug 31, 2015 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 don't include system headers in dependency files

System library headers are not strictly part of our build. If they are changing beneath our feet, then we probably have bigger problems.

---
 common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common.mk +1 -1
index 7c09ab0a46d0..6bfe8de85953 100644
@@ -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:
 
Signature · 1 line
2.5.0.457.gab17608