Re: [kbuild-devel] [patch, rfc] kbuild: implement checksrc without building Cources (was Re: CHECK without C compile?)

2006-10-24 Thread Oleg Verych
On 2006-10-24, Oleg Verych wrote: > On 2006-10-23, Randy Dunlap wrote: >> Hi Sam, > * It seems* > > + $(call if_changed_rule,cc_o_c) || \ > + { echo $(@:.o=.ko); echo $@; } > $(MODVERDIR)/$(@F:.o=.mod) This doesn't work, use ifs instead. Updated. I have no idea what to do with generated so

[kbuild-devel] [patch, rfc] kbuild: implement checksrc without building Cources (was Re: CHECK without C compile?)

2006-10-24 Thread Oleg Verych
On 2006-10-23, Randy Dunlap wrote: > Hi Sam, It seem he on vocation, let me get it, since i've started my develife from makefiles. > Is there an option/variant of CHECKSRC that does something like > make checkall > i.e., runs CHECK=sparse on all source files, without also building them > wi

Re: [kbuild-devel] Link lib to a kernel module

2006-10-24 Thread Oleg Verych
Hallo, Matthias. On 2006-10-24, Matthias Fechner wrote: > I tried today to link a lib (.a) to my kernel module but I could not > found howto do it. `Documentation/kbuild' directory in your linux sources. `makefiles.txt' about `lib-y', `modules.txt' about modules. Good luck. ---