[lkml]   [2001]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4.13-pre6 breaks Nvidia's kernel module
J . A . Magallon wrote:

> The first thing I did was to kach the horrible nVidia's Makefile. For example,
> it had the bad intention of compiling and installing against the running kernel
> (guess kernel with uname -r). So when you update the kernel, you have to reboot
> and make nVidia drivers. I changed it to:
> +KREL:=`grep UTS_RELEASE /usr/src/linux/include/linux/version.h | cut -d\" -f2`
> -KERNDIR:=/lib/modules/$(shell uname -r)
> +KERNDIR:=/lib/modules/$(KREL)
> so it builds against a built but not-running kernel.

I thought use of /usr/src/linux was not recommended anymore. On my
distro, that file would point to the original kernel, the one that
glibc, et al. is compiled with, not my current running kernel or ones
I've not yet booted with. Perhaps a `uname -r` with command-line
override would be more appropriate?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:10    [W:0.095 / U:0.056 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site