diff options
author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-02-14 08:25:07 -0600 |
---|---|---|
committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2003-02-14 08:25:07 -0600 |
commit | 2ec54bc13faf3bdf83ba37a4b346256b0b5c0eee (patch) | |
tree | 76b6e087bc100ff6ce7c455b667912c278e9c7a5 /Makefile | |
parent | 0e7d983baf0e669867183d9fecdeb7b83ac1940b (diff) | |
download | history-2ec54bc13faf3bdf83ba37a4b346256b0b5c0eee.tar.gz |
kbuild: Move the version magic generation into module postprocessing
Since we'll have to always do module postprocessing shortly, we can as well
get rid of the special cased init/vermagic.o which needed to be compiled
before descending, and instead include the current version magic string
during post processing. For that purpose, the generation of the string is
moved from init/vermagic.c to include/linux/vermagic.h.
People who externally maintain modules will also be happy about that.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Makefile b/Makefile index e6345e30e9acba..d2c520e87231f7 100644 --- a/Makefile +++ b/Makefile @@ -416,17 +416,6 @@ endif endif @echo ' Starting the build. KBUILD_BUILTIN=$(KBUILD_BUILTIN) KBUILD_MODULES=$(KBUILD_MODULES)' -# We need to build init/vermagic.o before descending since all modules -# (*.ko) need it already - -ifdef CONFIG_MODULES - -prepare: init/vermagic.o - -init/vermagic.o: include/linux/version.h - -endif - # This can be used by arch/$ARCH/Makefile to preprocess # their vmlinux.lds.S file |