lkml.org 
[lkml]   [1999]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Standard for module delivery
On Fri, Jul 02, 1999 at 11:08:27AM -0700, Stephen Williams wrote:

> MYDIR=`pwd`
> cd /usr/src/linux
> make SUBDIRS=$MYDIR modules
>
> David.Woodhouse@mvhi.com said:
> > This also allows you to include the current config options.
>
> Now that's pretty slick. However, should it really be necessary for the
> kernel source to be installed? I have compiled my module with only the
> kernel headers installed, and think that should be just fine. It should
> work.

But how do you know if you should be compiling with, e.g. __SMP__ defined,
without the kernel source?

Every now and then there is a debate about having a /proc/config.gz in procfs;
if this existed you could pull values for, e.g. CONFIG_SMP from there.

--
Mommy, where were you when Demon sold out its customers to cover its ass?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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