path: root/Documentation
diff options
authorMasahiro Yamada <>2019-10-29 21:38:07 +0900
committerMasahiro Yamada <>2019-11-11 20:10:01 +0900
commitbbc55bded4aaf47d6f2bd9389fc8d3a3821d18c0 (patch)
tree4530ad6400d9e0798059644098cf66bbb15da074 /Documentation
parent0241ea8cae19b49fc1b1459f7bbe9a77f4f9cc89 (diff)
modpost: dump missing namespaces into a single modules.nsdeps file
The modpost, with the -d option given, generates per-module .ns_deps files. Kbuild generates per-module .mod files to carry module information. This is convenient because Make handles multiple jobs in parallel when the -j option is given. On the other hand, the modpost always runs as a single thread. I do not see a strong reason to produce separate .ns_deps files. This commit changes the modpost to generate just one file, modules.nsdeps, each line of which has the following format: <module_name>: <list of missing namespaces> Please note it contains *missing* namespaces instead of required ones. So, modules.nsdeps is empty if the namespace dependency is all good. This will work more efficiently because spatch will no longer process already imported namespaces. I removed the '(if needed)' from the nsdeps log since spatch is invoked only when needed. This also solves the stale .ns_deps problem reported by Jessica Yu: Signed-off-by: Masahiro Yamada <> Tested-by: Jessica Yu <> Acked-by: Jessica Yu <> Reviewed-by: Matthias Maennich <> Tested-by: Matthias Maennich <>
Diffstat (limited to 'Documentation')
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/dontdiff b/Documentation/dontdiff
index 9f4392876099..72fc2e9e2b63 100644
--- a/Documentation/dontdiff
+++ b/Documentation/dontdiff
@@ -179,6 +179,7 @@ mkutf8data