History

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.

Masahiro Yamada committed 4 years ago

Commit 61922d31 parent 8b979921 file · +1 −1Browse files

Unified · Split

arch/x86/purgatory/Makefile+1−1
@@ -81,4 +81,4 @@ quiet_cmd_bin2c = BIN2C $@ · 80 unmodified lines
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