Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-27 Thread Sam Ravnborg
Hi Henry. Snipped a very detaild an good example... Thanks for your comprehensive feedback on this topic. > > Idea for future: > An 'APPEND_LDFLAGS' would be nice to append flags behind the last .o > object. Than can be close the group with --end-group. > > Exactly linker call would be with gro

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-27 Thread Henry Nestler
Hello Sam, Henry Nestler wrote: Sam Ravnborg wrote: What macro should set for linker parameters of foo.o ? I'm not shure. Have you read: Documentation/kbuild/makfilefiles.txt? [...] If your example requires the LDFALGS_$@ I wil introduce it - for now it has not been required (except for vdso

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-26 Thread Henry Nestler
Hello Sam, Sam Ravnborg wrote: What macro should set for linker parameters of foo.o ? I'm not shure. Have you read: Documentation/kbuild/makfilefiles.txt? Yes. This was a *very* helpfull. And many examples spokes about LDFLAGS_$@ there. Not directly described for modules. Took a deeper look.

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-26 Thread Sam Ravnborg
> >>What macro should set for linker parameters of foo.o ? I'm not shure. > >Have you read: > >Documentation/kbuild/makfilefiles.txt? > > Yes. This was a *very* helpfull. And many examples spokes about > LDFLAGS_$@ there. Not directly described for modules. Took a deeper look. I saw one referenc

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-26 Thread Henry Nestler
Hello Sam, Sam Ravnborg wrote: Hi Henry. On Tue, Sep 25, 2007 at 11:49:44AM +0200, Henry Nestler wrote: In reference of git 114f51577724b782a30f4f5ceaee9880de93d776: kbuild: use LDFLAGS_MODULE only for .ko links Sam Ravnborg pointed out that Documentation/kbuild/makefiles.txt al

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-25 Thread Sam Ravnborg
Hi Henry. On Tue, Sep 25, 2007 at 11:49:44AM +0200, Henry Nestler wrote: > In reference of git 114f51577724b782a30f4f5ceaee9880de93d776: > >kbuild: use LDFLAGS_MODULE only for .ko links > > > >Sam Ravnborg pointed out that Documentation/kbuild/makefiles.txt > >already > >says

kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-25 Thread Henry Nestler
In reference of git 114f51577724b782a30f4f5ceaee9880de93d776: kbuild: use LDFLAGS_MODULE only for .ko links Sam Ravnborg pointed out that Documentation/kbuild/makefiles.txt already says this is what it's for. This patch makes the reality live up to the documentation. This