diff mbox

[2/2] kbuild: rebuild fix for Makefile.modbuiltin

Message ID 3263f1a5a7e97b7db424ddd429698a23f8ec665b.1252075736.git.mmarek@suse.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Michal Marek Sept. 4, 2009, 2:51 p.m. UTC
From: Jan Beulich <JBeulich@novell.com>

This patch addresses an issue with rebuilds failing to re-generate
modules.builtin files after altering config options.

Signed-off-by: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 scripts/Makefile.modbuiltin |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/scripts/Makefile.modbuiltin b/scripts/Makefile.modbuiltin
index 55e1885..cc39366 100644
--- a/scripts/Makefile.modbuiltin
+++ b/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
 # ---------------------------------------------------------------------------