On Sun, Jan 15, 2006 at 09:48:02PM +0100, Hemmann, Volker Armin wrote:
> The kernel-sources directory has to be 'virgin'. As soon as I build a kernel
> in it once, it worked without any problems - even after a make clean and make
> mrproper.
This proved to be why it worked for me.
The fix was simple. We have to evaluate MODLIB late so we have
.kernelrelease created when evaluating MODLIB.
Following patch fixes it:
Sam
diff --git a/Makefile b/Makefile
index 22e322f..37a4b67 100644
--- a/Makefile
+++ b/Makefile
@@ -545,7 +545,7 @@ export INSTALL_PATH ?= /boot
# makefile but the arguement can be passed to make if needed.
#
-MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
+MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
export MODLIB
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]