Commit 03e7dcfb authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Assorted fixlets

o Build modules with CONFIG_MODVERSIONS when just saying "make"
o Ignore generated *.ver.c files
o Fix a typo (Sam Ravnborg)
o Fix another typo (Paul Marinceu)
parent 44e26651
......@@ -54,7 +54,7 @@ CROSS_COMPILE =
# That's our default target when none is given on the command line
all: vmlinux
all: vmlinux modules
# Decide whether to build built-in, modular, or both.
# Normally, just do built-in.
......@@ -707,7 +707,7 @@ MRPROPER_DIRS += \
# clean - Delete all intermediate files
#
clean-dirs += $(addprefix, _clean_,$(ALL_SUBDIRS) Documentation/DocBook scripts)
clean-dirs += $(addprefix _clean_,$(ALL_SUBDIRS) Documentation/DocBook scripts)
.PHONY: $(clean-dirs) clean archclean mrproper archmrproper distclean
$(clean-dirs):
$(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
......
......@@ -1295,7 +1295,7 @@ static struct module *load_module(void *umod,
#ifdef CONFIG_MODVERSIONS
if ((mod->symbols.num_syms && !crcindex)
|| (mod->gpl_symbols.num_syms && !gplcrcindex))
|| (mod->gpl_symbols.num_syms && !gplcrcindex)) {
printk(KERN_WARNING "%s: No versions for exported symbols."
" Tainting kernel.\n", mod->name);
tainted |= TAINT_FORCED_MODULE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment