summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-16 23:48:17 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-16 23:48:17 -0500
commitc51db436049fddda605c8a7907d2f1a71edd31eb (patch)
tree83cef9e1181749ac39760c71efcdad0ce29c899b
parentf3c283557e3af51e6c717b70e83aefec25d94c5a (diff)
kbuild: modversions fix
As pointed out by Mikael Pettersson, we didn't generate checksums for all exporting objects, due to a thinko of mine.
-rw-r--r--Rules.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.make b/Rules.make
index e662722d8474..6ef827d3df39 100644
--- a/Rules.make
+++ b/Rules.make
@@ -131,9 +131,9 @@ else
genksyms_smp_prefix :=
endif
-$(MODVERDIR)/$(real-objs-y:.o=.ver): modkern_cflags := $(CFLAGS_KERNEL)
-$(MODVERDIR)/$(real-objs-m:.o=.ver): modkern_cflags := $(CFLAGS_MODULE)
-$(MODVERDIR)/$(export-objs:.o=.ver): export_flags := -D__GENKSYMS__
+$(addprefix $(MODVERDIR)/,$(real-objs-y:.o=.ver)): modkern_cflags := $(CFLAGS_KERNEL)
+$(addprefix $(MODVERDIR)/,$(real-objs-m:.o=.ver)): modkern_cflags := $(CFLAGS_MODULE)
+$(addprefix $(MODVERDIR)/,$(export-objs:.o=.ver)): export_flags := -D__GENKSYMS__
c_flags = -Wp,-MD,$(depfile) $(CFLAGS) $(NOSTDINC_FLAGS) \
$(modkern_cflags) $(EXTRA_CFLAGS) $(CFLAGS_$(*F).o) \