VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Masahiro Yamada <masahiroy@kernel.org> 2020-04-23 23:23:53 +0900 committer: Masahiro Yamada <masahiroy@kernel.org> 2020-05-12 13:28:33 +0900 commit: 30a7729771731971839cc969d2a321e6ea7a144b parent: 8b59cd81dc5e724eaea283fa6006985891c7bff4
Commit Summary:
kbuild: use -MMD instead of -MD to exclude system headers from dependency
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/usr/include/Makefile b/usr/include/Makefile
index b568a95d1f62..5a7ee3e5ed86 100644
--- a/usr/include/Makefile
+++ b/usr/include/Makefile
@@ -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.
 #