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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8b97992 commit 61922d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)