Re: [kbuild-devel] Can't get "make O=" with external module to work

2004-11-13 Thread Sam Ravnborg
On Sat, Nov 13, 2004 at 07:55:54PM -0600, Timur Tabi wrote: > Sam Ravnborg wrote: > > >Today it is not possible to tell kbuild to store output files > >in a different directory when building external modules. > >So for an external module located in .../external/foo output files > >for the module w

Re: [kbuild-devel] Can't get "make O=" with external module to work

2004-11-13 Thread Timur Tabi
Sam Ravnborg wrote: Today it is not possible to tell kbuild to store output files in a different directory when building external modules. So for an external module located in .../external/foo output files for the module will be stored in ../external/foo no matter usage of O= I understand that now,

Re: [kbuild-devel] Can't get "make O=" with external module to work

2004-11-13 Thread Sam Ravnborg
On Sat, Nov 13, 2004 at 02:58:03PM -0600, Timur Tabi wrote: > Sam Ravnborg wrote: > > >KERNELSRC equals /usr/ammasso/src/sles9/2.6.5-32smp in your example > >KERNELOUTPUT equals ??? in your example > > KERNELOUTPUT = $KERNELSRC. There's a reason why it's called an > "external" module. My modul

Re: [kbuild-devel] Can't get "make O=" with external module to work

2004-11-13 Thread Timur Tabi
Sam Ravnborg wrote: KERNELSRC equals /usr/ammasso/src/sles9/2.6.5-32smp in your example KERNELOUTPUT equals ??? in your example KERNELOUTPUT = $KERNELSRC. There's a reason why it's called an "external" module. My module is not built with the kernel. You may say it is inconsistent, improvements

Re: [kbuild-devel] same name of a source file and kernel object

2004-11-13 Thread Sam Ravnborg
On Thu, Nov 04, 2004 at 04:54:54PM +0530, Anupam Kapoor wrote: > hi all, > > we have bunch of source files making up linux-26 driver and we are > using kbuild for creating the final kernel module. > > the problem is that the name for our kernel object (foo.ko) clashes > with one of the sources (f

[kbuild-devel] same name of a source file and kernel object

2004-11-13 Thread Anupam Kapoor
hi all, we have bunch of source files making up linux-26 driver and we are using kbuild for creating the final kernel module. the problem is that the name for our kernel object (foo.ko) clashes with one of the sources (foo.c). kbuild barfs at this. changing the name of the kernel module, requires

Re: [kbuild-devel] Can't get "make O=" with external module to work

2004-11-13 Thread Sam Ravnborg
On Fri, Nov 05, 2004 at 10:04:15AM -0600, Timur Tabi wrote: > I'm trying to compile an external module and use the O= kbuild option, > but it's not working for me: > > make -C /usr/ammasso/src/sles9/2.6.5-32smp > SUBDIRS=/home/ttabi/sb/starcore/software/host/linux/sys/devccil > O=/home/ttabi/sb/st