Recent FC5test2+ kernel-devel packages are missing the top-level .kernelrelease file. The top-level Makefile appears to use it nowadays for defining KERNELRELEASE. The effect of KERNELRELEASE being empty is that the documented kbuild Makefile method (see Documentation/kbuild/modules.txt, section 4) no longer works as expected; in the following, the "kbuild part" is never entered when invoking "make -C $kernelsrcdir M=`pwd`" like also instructed in kbuild/modules.txt. ifneq ($(KERNELRELEASE),) # kbuild part of makefile [...] else # Normal Makefile [...] endif
fixed