Skip to content

Commit 61922d3

Browse files
masahir0ysuryasaimadhu
authored andcommitted
x86/purgatory: Hard-code obj-y in Makefile
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> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220725020812.622255-1-masahiroy@kernel.org
1 parent 8b97992 commit 61922d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/purgatory/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ quiet_cmd_bin2c = BIN2C $@
8181
$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro $(obj)/purgatory.chk FORCE
8282
$(call if_changed,bin2c)
8383

84-
obj-$(CONFIG_KEXEC_FILE) += kexec-purgatory.o
84+
obj-y += kexec-purgatory.o

0 commit comments

Comments
 (0)