kbuild: use -MMD instead of -MD to exclude system headers from dependency
[sfrench/cifs-2.6.git] / scripts / Kbuild.include
index 6cabf20ce66a3bc687755b2df190c5f68032345a..0c3dc983439bc51ee771285a8b63126bec4eee38 100644 (file)
@@ -16,7 +16,7 @@ pound := \#
 dot-target = $(dir $@).$(notdir $@)
 
 ###
-# The temporary file to save gcc -MD generated dependencies must not
+# The temporary file to save gcc -MMD generated dependencies must not
 # contain a comma
 depfile = $(subst $(comma),_,$(dot-target).d)