Compiling modules on UML

2009-08-05 Thread Manish Katiyar
Hi, I am trying to compile a module on UML. The kernel with which I am booting UML is my custom kernel built on i386 machine with the command line as make defconfig ARCH=um; make linux ARCH=um. After the kernel boots up my uname shows something like below :- bash-3.2# uname -a Linux

Re: Compiling modules on UML

2009-08-05 Thread SandeepKsinha
Manish, On Wed, Aug 5, 2009 at 3:54 PM, Manish Katiyarmkati...@gmail.com wrote: Hi, I am trying to compile a module on UML. The kernel with which I am booting UML is my custom kernel built on i386 machine with the command line as make defconfig ARCH=um; make linux ARCH=um. After the kernel

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
On Wed, Aug 5, 2009 at 4:46 PM, Flaviofbcyb...@gmail.com wrote: 2009/8/5 Manish Katiyar mkati...@gmail.com: My question is how do people build modules which are specific to a particular architecture on UML ? Is it possible ? Sure! Are you compiling the kernel modules from the host system? If

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread H M Thalib
Hi Manish, Manish Katiyar wrote: On Wed, Aug 5, 2009 at 4:46 PM, Flaviofbcyb...@gmail.com wrote: 2009/8/5 Manish Katiyar mkati...@gmail.com: My question is how do people build modules which are specific to a particular architecture on UML ? Is it possible ? Sure! Are you compiling the

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
On Wed, Aug 5, 2009 at 8:44 PM, H M Thalibhmtha...@gmail.com wrote: Hi  Manish, Manish Katiyar wrote: On Wed, Aug 5, 2009 at 4:46 PM, Flaviofbcyb...@gmail.com wrote: 2009/8/5 Manish Katiyar mkati...@gmail.com: My question is how do people build modules which are specific to a particular

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread H M Thalib
Hi Manish Katiyar wrote: On Wed, Aug 5, 2009 at 8:44 PM, H M Thalibhmtha...@gmail.com wrote: Hi Manish, Manish Katiyar wrote: On Wed, Aug 5, 2009 at 4:46 PM, Flaviofbcyb...@gmail.com wrote: 2009/8/5 Manish Katiyar mkati...@gmail.com: My question is how do people build modules which are

how to prep a kernel source tree for cross-compiling modules?

2009-01-23 Thread Robert P. J. Day
it's early and i'm out of coffee so this might be a dumb question but i want to clarify the set of steps to prep a pristine kernel source tree outside of the actual source against which to cross compile a module. the setup: KERNELSRCDIR=location of pristine 2.6.10 source tree

Compiling modules

2008-01-03 Thread Peter Poulsen
When we build our own modules, we type something like: make -C /lib/modules/2.6.22/build M=$(PWD) modules What is the 'M' variable actually used for? If somebody can tell me in what Makefile it is read (and at which line) it would be awesome /peter -- A: Because it messes up the order in

Re: Compiling modules

2008-01-03 Thread Luis Henriques
Hi! On Thu, Jan 03, 2008 at 03:17:03PM +0100, Peter Poulsen wrote: When we build our own modules, we type something like: make -C /lib/modules/2.6.22/build M=$(PWD) modules What is the 'M' variable actually used for? If somebody can tell me in what Makefile it is read (and at which line)

Re: Compiling modules

2008-01-03 Thread Anupam Kapoor
On Jan 3, 2008 7:47 PM, Peter Poulsen [EMAIL PROTECTED] wrote: What is the 'M' variable actually used for? M=XXX is used to tell the kbuild mechanism that a module is being, with the kbuild file itself existing at option value i.e XXX. for understanding how it all fits, you would have to look at