]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - usr/include/Makefile
kbuild: use -MMD instead of -MD to exclude system headers from dependency
[mirror_ubuntu-jammy-kernel.git] / usr / include / Makefile
index b568a95d1f62e68b5ec830f68ab42d1878c6dc7f..5a7ee3e5ed869066d479fad6730c933a6bf04762 100644 (file)
@@ -8,7 +8,7 @@
 # We cannot go as far as adding -Wpedantic since it emits too many warnings.
 UAPI_CFLAGS := -std=c90 -Wall -Werror=implicit-function-declaration
 
-override c_flags = $(UAPI_CFLAGS) -Wp,-MD,$(depfile) -I$(objtree)/usr/include
+override c_flags = $(UAPI_CFLAGS) -Wp,-MMD,$(depfile) -I$(objtree)/usr/include
 
 # The following are excluded for now because they fail to build.
 #