On Wed, Dec 10, 2008 at 10:28:21PM +0100, Sam Ravnborg wrote: > > I made the following quick hack. > I think it should do the trick. > > Sam > > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > index 468fbc9..8b5bf43 100644 > --- a/scripts/Makefile.build > +++ b/scripts/Makefile.build > @@ -215,7 +215,8 @@ define rule_cc_o_c > $(call echo-cmd,cc_o_c) $(cmd_cc_o_c); \ > $(cmd_modversions) \ > $(cmd_record_mcount) \ > - scripts/basic/fixdep $(depfile) $@ '$(call make-cmd,cc_o_c)' > \ > + scripts/basic/fixdep $(depfile) $@ \ > + '$(call make-cmd,cc_o_c) $(call make-cmd,record_mcount)' > \ > $(dot-target).tmp; \ > rm -f $(depfile); \ > mv -f $(dot-target).tmp $(dot-target).cmd Hi Steven. Did you try the above? If it works I will add it to kbuild-next.git Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html