[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0812101443550.11805@gandalf.stny.rr.com>
Date: Wed, 10 Dec 2008 14:48:35 -0500 (EST)
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kbuild@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
cc: zippel@...ux-m68k.org, Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Better way to force a rebuild
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists