mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/2] x86/purgatory: hard-code obj-y in Makefile
@ 2022-07-25  2:08 Masahiro Yamada
  2022-07-25  2:08 ` [PATCH v2 2/2] x86/purgatory: Omit use of bin2c Masahiro Yamada
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Masahiro Yamada @ 2022-07-25  2:08 UTC (permalink / raw)
  To: x86, Thomas Gleixner, Ingo Molnar, Borislav Petkov
  Cc: H . Peter Anvin, Masahiro Yamada, Dave Hansen, Nick Desaulniers,
	linux-kernel

arch/x86/Kbuild guards the entire purgatory/ directory, and
CONFIG_KEXEC_FILE is bool type.

$(CONFIG_KEXEC_FILE) is always 'y' when this directory is being built.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

(no changes since v1)

 arch/x86/purgatory/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/purgatory/Makefile b/arch/x86/purgatory/Makefile
index ae53d54d7959..248b009c4061 100644
--- a/arch/x86/purgatory/Makefile
+++ b/arch/x86/purgatory/Makefile
@@ -81,4 +81,4 @@ quiet_cmd_bin2c = BIN2C   $@
 $(obj)/kexec-purgatory.c: $(obj)/purgatory.ro $(obj)/purgatory.chk FORCE
 	$(call if_changed,bin2c)
 
-obj-$(CONFIG_KEXEC_FILE)	+= kexec-purgatory.o
+obj-y += kexec-purgatory.o
-- 
2.34.1


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

end of thread, other threads:[~2022-07-25 17:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-25  2:08 [PATCH v2 1/2] x86/purgatory: hard-code obj-y in Makefile Masahiro Yamada
2022-07-25  2:08 ` [PATCH v2 2/2] x86/purgatory: Omit use of bin2c Masahiro Yamada
2022-07-25 12:08   ` [tip: x86/build] " tip-bot2 for Masahiro Yamada
2022-07-25 12:08 ` [tip: x86/build] x86/purgatory: Hard-code obj-y in Makefile tip-bot2 for Masahiro Yamada
2022-07-25 17:02 ` [PATCH v2 1/2] x86/purgatory: hard-code " Nick Desaulniers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®