All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] um: Add missing "FORCE" target when using if_changed
@ 2021-10-08 21:51 ` Randy Dunlap
  0 siblings, 0 replies; 12+ messages in thread
From: Randy Dunlap @ 2021-10-08 21:51 UTC (permalink / raw)
  Cc: Randy Dunlap, Masahiro Yamada, Michal Marek, Nick Desaulniers,
	linux-kbuild, Jeff Dike, Richard Weinberger, Anton Ivanov,
	linux-um, x86

'make ARCH=um' says:

../arch/x86/um/Makefile:44: FORCE prerequisite is missing

and adding "FORCE" there makes it be quiet, so do it.  :)

Fixes: e1f86d7b4b2a ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: linux-kbuild@vger.kernel.org
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: linux-um@lists.infradead.org
Cc: x86@kernel.org
---
 arch/x86/um/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20211007.orig/arch/x86/um/Makefile
+++ linux-next-20211007/arch/x86/um/Makefile
@@ -40,7 +40,7 @@ $(obj)/user-offsets.s: c_flags = -Wp,-MD
 	-Iarch/x86/include/generated
 targets += user-offsets.s
 
-include/generated/user_constants.h: $(obj)/user-offsets.s
+include/generated/user_constants.h: $(obj)/user-offsets.s FORCE
 	$(call filechk,offsets,__USER_CONSTANT_H__)
 
 UNPROFILE_OBJS := stub_segv.o

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

end of thread, other threads:[~2021-10-09 20:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 21:51 [PATCH] um: Add missing "FORCE" target when using if_changed Randy Dunlap
2021-10-08 21:51 ` Randy Dunlap
2021-10-08 23:23 ` David Gow
2021-10-08 23:23   ` David Gow
2021-10-09  0:01   ` Randy Dunlap
2021-10-09  0:01     ` Randy Dunlap
2021-10-09  5:36     ` Anton Ivanov
2021-10-09  5:36       ` Anton Ivanov
2021-10-09 13:06       ` Johannes Berg
2021-10-09 13:06         ` Johannes Berg
2021-10-09 20:20         ` Richard Weinberger
2021-10-09 20:20           ` Richard Weinberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.