lkml.org 
[lkml]   [2006]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 16 Jan 2006 12:39:42 +0100
FromSam Ravnborg <>
SubjectRe: Fw: two (little) problems wit 2.6.15-git7 one with build, one with acpi
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-01-16 12:42    [from the cache]
©2003-2010