public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Better way to force a rebuild
@ 2008-12-10 19:48 Steven Rostedt
  2008-12-10 20:02 ` Sam Ravnborg
  0 siblings, 1 reply; 13+ messages in thread
From: Steven Rostedt @ 2008-12-10 19:48 UTC (permalink / raw)
  To: linux-kbuild, LKML; +Cc: zippel, Ingo Molnar, Andrew Morton


Hi,

In include/linux/kernel.h I currently have the following lines at the 
bottom of the file:

/* Rebuild everything on CONFIG_FTRACE_MCOUNT_RECORD */
#ifdef CONFIG_FTRACE_MCOUNT_RECORD
# define REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD
#endif


This is only there to force a rebuild of all files when 
CONFIG_FTRACE_MCOUNT_RECORD is modified. Since the modification of that 
config causes the build to act different, we need to rebuild all C 
objects. I added the #ifdef in kernel.h as a hack to force the rebuild by 
the config dependencies used in kbuild.

My question is, is there a better way to force a full rebuild on a 
modification of a config?

Thanks,

-- Steve


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-12-16 20:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 19:48 Better way to force a rebuild Steven Rostedt
2008-12-10 20:02 ` Sam Ravnborg
2008-12-10 20:10   ` Andrew Morton
2008-12-10 20:37     ` Sam Ravnborg
2008-12-10 20:44       ` Steven Rostedt
2008-12-10 20:19   ` Steven Rostedt
2008-12-10 20:26   ` Steven Rostedt
2008-12-10 20:27     ` Steven Rostedt
2008-12-10 20:39     ` Sam Ravnborg
2008-12-10 21:28   ` Sam Ravnborg
2008-12-13 23:16     ` Sam Ravnborg
2008-12-14 17:05       ` Steven Rostedt
2008-12-16 20:06         ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox