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

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 (foo.c).

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] 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 will be