summaryrefslogtreecommitdiff
path: root/scripts/Makefile.modpost
diff options
context:
space:
mode:
authorMatt Domsch <matt_domsch@dell.com>2004-10-19 18:37:33 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-19 18:37:33 -0700
commit1184aeda646af14b91609552436f722e12117e0b (patch)
treea46fde13ec80545a22e3b23458ad666eb4edc3e0 /scripts/Makefile.modpost
parent77bcf0fa9d57bbba95a2e4d053d450bab4438253 (diff)
[PATCH] modules: put srcversion checksum in each modinfo section
Separate the module source and header checksum into a separate modinfo field srcversion. With CONFIG_MODULE_SRCVERSION_ALL=y, put srcversion into every module, not just those with MODULE_VERSION("something"). Patch by Rusty Russell, trivial merging and testing by Matt Domsch Signed-off-by: Matt Domsch <Matt_Domsch@dell.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/Makefile.modpost')
-rw-r--r--scripts/Makefile.modpost1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
index b3d31b559ad8..94b550e21be8 100644
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -52,6 +52,7 @@ _modpost: $(modules)
quiet_cmd_modpost = MODPOST
cmd_modpost = scripts/mod/modpost \
$(if $(CONFIG_MODVERSIONS),-m) \
+ $(if $(CONFIG_MODULE_SRCVERSION_ALL),-a,) \
$(if $(KBUILD_EXTMOD),-i,-o) $(symverfile) \
$(filter-out FORCE,$^)