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
81$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro $(obj)/purgatory.chk FORCE81$(obj)/kexec-purgatory.c: $(obj)/purgatory.ro $(obj)/purgatory.chk FORCE
82 $(call if_changed,bin2c)82 $(call if_changed,bin2c)
83 83
84obj-$(CONFIG_KEXEC_FILE) += kexec-purgatory.o84obj-y += kexec-purgatory.o