On Tue, 24 Oct 2006 19:43:40 +0000 (UTC) Oleg Verych wrote: > 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 sources and headers. > One may be: check target `if_changed' to be %.c or %.h and let it be > built.
Hi Oleg, Yes, it works for me, with the exception of host-generated files, as you mentioned. I ran into those with: IKCONFIG (the one that you mentioned), ATM_FORE200E firmware, IEEE 1394 OUI database (which I sent a patch for -- it should not be generated when the config option is not enabled), RAID456 tables, VIDEO_LOGO files, and CRC32 table. Thanks for your time and effort. Maybe Sam will have some ideas. > ____ > From: Oleg Verych <[EMAIL PROTECTED]> > Subject: [patch, rfc] kbuild: implement checksrc without building Cources > > Implementation of configured source chacking without actual building. > > Cc: Randy Dunlap <[EMAIL PROTECTED]> > Cc: Sam Ravnborg <[EMAIL PROTECTED]> > Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> > --- > > Configured sources means, some config target must be run already. > After that > ,-<shell> > | make prepare > | make C=something_not_0,1,2 _target_ > `-- > should run _target_ with checking and without building. > > -o--=O`C /. .\ > #oo'L O o > <___=E M ^-- > > scripts/Kbuild.include | 6 +++--- > scripts/Makefile.build | 25 ++++++++++++++++--------- > 2 files changed, 19 insertions(+), 12 deletions(-) --- ~Randy ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel