[kbuild-devel] Re: 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Kai Germaschewski
On Mon, 9 Jun 2003, Christoph Hellwig wrote: > On Mon, Jun 09, 2003 at 01:56:59PM +0200, Jaroslav Kysela wrote: > > one object file for more targets. Example: > > > > -- > > snd-ice1712-objs := ice1712.o delta.o hoontech.o ews.o ak4xxx.o > > snd-ice1724-objs := ice1724.o amp.o revo.o aureon.o

[kbuild-devel] Re: 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Sam Ravnborg
On Mon, Jun 09, 2003 at 01:04:38PM +0100, Christoph Hellwig wrote: > On Mon, Jun 09, 2003 at 01:56:59PM +0200, Jaroslav Kysela wrote: > > one object file for more targets. Example: > > > > -- > > snd-ice1712-objs := ice1712.o delta.o hoontech.o ews.o ak4xxx.o > > snd-ice1724-objs := ice1724.o

[kbuild-devel] 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Jaroslav Kysela
Hello all, I am trying to figure the best solution for our problem. We reuse one object file for more targets. Example: -- snd-ice1712-objs := ice1712.o delta.o hoontech.o ews.o ak4xxx.o snd-ice1724-objs := ice1724.o amp.o revo.o aureon.o ak4xxx.o # Toplevel Module Dependency obj-$(C

[kbuild-devel] Re: 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Jaroslav Kysela
On Mon, 9 Jun 2003, Christoph Hellwig wrote: > On Mon, Jun 09, 2003 at 01:56:59PM +0200, Jaroslav Kysela wrote: > > one object file for more targets. Example: > > > > -- > > snd-ice1712-objs := ice1712.o delta.o hoontech.o ews.o ak4xxx.o > > snd-ice1724-objs := ice1724.o amp.o revo.o aureon.o

[kbuild-devel] [PATCH] scripts/kconfig/conf segfaults without filename

2003-06-09 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. scripts/kconfig/conf does not check number of command line arguments properly, and it segfaults if it is invoked without filename. Thanks in advance. Index: linux25/scripts/kconfig/conf.c === RCS file: /cvsroot/usagi/usagi/k

[kbuild-devel] Re: 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Peter Samuelson
[Christoph Hellwig] > Well, if you want separate copies of it you have to make sure the > symbols won't clash, e.g. calling all functions in it > > MYPREFIX_foo > > and then do #define MYPREFIX KBUILD_MODNAME ...or just move everything into a header file as static functions. Inline, even, if t

[kbuild-devel] Re: 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Christoph Hellwig
On Mon, Jun 09, 2003 at 04:01:41PM +0200, Jaroslav Kysela wrote: > But this solution will create a new kernel module. The shared code is > really small and having small codes in separated modules is waste of > memory in my eyes. Well, if you want separate copies of it you have to make sure the s

[kbuild-devel] Re: 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Christoph Hellwig
*grr* Can you _please_ stop the stupid practice of Cc'ing members-only lists? Thanks. --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've n

[kbuild-devel] Re: 2.5 kbuild: use of '-z muldefs' for LD?

2003-06-09 Thread Christoph Hellwig
On Mon, Jun 09, 2003 at 01:56:59PM +0200, Jaroslav Kysela wrote: > one object file for more targets. Example: > > -- > snd-ice1712-objs := ice1712.o delta.o hoontech.o ews.o ak4xxx.o > snd-ice1724-objs := ice1724.o amp.o revo.o aureon.o ak4xxx.o > > # Toplevel Module Dependency > obj-$(CONFIG