Le Wed, 28 Nov 2007 00:11:37 +0330,
"Iman Darabi" <[EMAIL PROTECTED]> a écrit :

> On Nov 28, 2007 12:09 AM, Iman Darabi <[EMAIL PROTECTED]> wrote:
> interesting ...
> i can guess why  : maybe because of symlink's path ( am i right ? )
> 
> but what about modules :
> i use this command to compile my module :
> make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
> #shell uname -r -> 2.6.11
> 
> and 2.6.11 source is clean ( with no symlinks )
> 
> maybe at compile time some file will be read to find symlinks without
> making it ( ? ) . what is that file ?

In order to compile modules you first need to "prepare" your kernel,
using "make modules_prepare", as explained in the kernel documentation:
http://lxr.free-electrons.com/source/Documentation/kbuild/modules.txt#130

I'd suggest you to read Documentation/kbuild/modules.txt completely to
get a better idea of how external modules work.

Sincerly,

Thomas
-- 
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to