From: Jan Beulich <JBeulich@xxxxxxxxxx> This patch addresses an issue with rebuilds failing to re-generate modules.builtin files after altering config options. Signed-off-by: Jan Beulich <JBeulich@xxxxxxxxxx> Signed-off-by: Michal Marek <mmarek@xxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/Makefile.modbuiltin | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -puN scripts/Makefile.modbuiltin~kbuild-rebuild-fix-for-makefilemodbuiltin scripts/Makefile.modbuiltin --- a/scripts/Makefile.modbuiltin~kbuild-rebuild-fix-for-makefilemodbuiltin +++ a/scripts/Makefile.modbuiltin @@ -31,9 +31,13 @@ modbuiltin-cmds = \ for m in $(modbuiltin-mods); do echo kernel/$$m; done; \ cat /dev/null $(modbuiltin-subdirs); -$(modbuiltin-target): $(subdir-ym) +$(modbuiltin-target): $(subdir-ym) FORCE $(Q)($(modbuiltin-cmds)) > $@ +PHONY += FORCE + +FORCE: + # Descending # --------------------------------------------------------------------------- _ -- 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