[kbuild-devel] building external modules with debugging symbols

2004-08-04 Thread Anupam Kapoor
hi all, i have a bunch of source files that need to compiled together to create a kernel module. this is quite straightforward with the existing kbuild setup. as part of creating the module, say foo.ko, i would also like to create a module foo-debug.ko that contains the debugging symbols. doing

Re: [kbuild-devel] building external modules with debugging symbols

2004-08-04 Thread Sam Ravnborg
On Tue, Aug 03, 2004 at 10:52:17PM +0530, Anupam Kapoor wrote: > hi all, > > i have a bunch of source files that need to compiled together to > create a kernel module. this is quite straightforward with the > existing kbuild setup. > > as part of creating the module, say foo.ko, i would also like

Re: [kbuild-devel] building external modules with debugging symbols

2004-08-04 Thread Arnd Bergmann
On Dienstag, 3. August 2004 19:22, Anupam Kapoor wrote: > doing both of these seems to be (at least to me) non-trivial. ideally, > i would like to just invoke 'make' in the source dir, and have both > foo.ko and foo-debug.ko built. > > i have tried this: > obj-m := foo.o foo-debug.o Try adding