summaryrefslogtreecommitdiff
path: root/scripts/Makefile.modpost
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-11 23:05:02 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-11 23:05:02 -0700
commit7ee168c0b7a988210cc8024d105dfd1cb3e956e6 (patch)
treecbd11aebcd3b71f46ee9672d58e6b894bff837ba /scripts/Makefile.modpost
parenta05fc485ee36ccca83808dae14a2487ab46d4c56 (diff)
[PATCH] Move __this_module to modpost
From: Brian Gerst <bgerst@didntduck.org> Move the __this_module structure to the modpost code where it really belongs.
Diffstat (limited to 'scripts/Makefile.modpost')
-rw-r--r--scripts/Makefile.modpost2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
index cd716ece8976..d349dda5edf7 100644
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -35,6 +35,8 @@ targets += $(modules)
# Compile version info for unresolved symbols
+modname = $(*F)
+
quiet_cmd_cc_o_c = CC $@
cmd_cc_o_c = $(CC) $(c_flags) $(CFLAGS_MODULE) \
-c -o $@ $<