mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
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
This commit is contained in:
parent
8b979924b9
commit
61922d3fa6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user