Re: Better way to force a rebuild

From: Steven Rostedt
Date: Wed Dec 10 2008 - 15:20:16 EST



On Wed, 10 Dec 2008, Sam Ravnborg wrote:

> On Wed, Dec 10, 2008 at 02:48:35PM -0500, Steven Rostedt wrote:
>
> Looking a bit deeper into this.
> I see that we have in Makefile.build:
>
> define rule_cc_o_c
> $(call echo-cmd,checksrc) $(cmd_checksrc) \
> $(call echo-cmd,cc_o_c) $(cmd_cc_o_c); \
> $(cmd_modversions) \
> $(cmd_record_mcount)
>
> So you want everyting to be rebuild if the command above changes.
> That should be doable - and it is indeed a bug that we do not do so.
> The integration of record_mcount needs to be improved.

Yes, that is exactly what I want. Now the next step is to implement this.
I'm not that strong on the kbuild system to know how.

Thanks,

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/