All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] uml: x86: add FORCE to user_constants.h
@ 2021-09-28  9:51 Johannes Berg
  2021-09-29  4:43 ` David Gow
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2021-09-28  9:51 UTC (permalink / raw)
  To: linux-um; +Cc: Johannes Berg

From: Johannes Berg <johannes.berg@intel.com>

The build system has started warning when filechk is called
without FORCE:

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

Add FORCE to make sure the file is checked/rebuilt when
necessary (and to quiet up the warning.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 arch/x86/um/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/um/Makefile b/arch/x86/um/Makefile
index 5ccb18290d71..ba5789c35809 100644
--- a/arch/x86/um/Makefile
+++ b/arch/x86/um/Makefile
@@ -40,7 +40,7 @@ $(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
 	-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
-- 
2.31.1


_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


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

* Re: [PATCH] uml: x86: add FORCE to user_constants.h
  2021-09-28  9:51 [PATCH] uml: x86: add FORCE to user_constants.h Johannes Berg
@ 2021-09-29  4:43 ` David Gow
  0 siblings, 0 replies; 2+ messages in thread
From: David Gow @ 2021-09-29  4:43 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-um, Johannes Berg

On Tue, Sep 28, 2021 at 5:52 PM Johannes Berg <johannes@sipsolutions.net> wrote:
>
> From: Johannes Berg <johannes.berg@intel.com>
>
> The build system has started warning when filechk is called
> without FORCE:
>
> arch/x86/um/Makefile:44: FORCE prerequisite is missing
>
> Add FORCE to make sure the file is checked/rebuilt when
> necessary (and to quiet up the warning.)
>
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> ---

Thanks -- this gets rid of the warning in KUnit builds, and the fix
makes sense to me.

Reviewed-by: David Gow <davidgow@google.com>

Cheers,
-- David

_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


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

end of thread, other threads:[~2021-09-29  4:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28  9:51 [PATCH] uml: x86: add FORCE to user_constants.h Johannes Berg
2021-09-29  4:43 ` David Gow

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.