Re: where is asm directory in 2.6.11 ?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Wed, 28 Nov 2007 00:11:37 +0330,
"Iman Darabi" <iman.darabi@xxxxxxxxx> a écrit :

> On Nov 28, 2007 12:09 AM, Iman Darabi <iman.darabi@xxxxxxxxx> 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, thomas.petazzoni@xxxxxxxx, http://thomas.enix.org
Jabber, thomas.petazzoni@xxxxxxxxx
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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux