]> git.baikalelectronics.ru Git - kernel.git/commitdiff
s390/purgatory: hard-code obj-y in Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 13 Jun 2022 17:09:01 +0000 (02:09 +0900)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 30 Jun 2022 12:18:15 +0000 (14:18 +0200)
The purgatory/ directory is entirely guarded in arch/s390/Kbuild.
CONFIG_ARCH_HAS_KEXEC_PURGATORY is bool type.

$(CONFIG_ARCH_HAS_KEXEC_PURGATORY) is always 'y' when Kbuild visits
this Makefile for building.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20220613170902.1775211-2-masahiroy@kernel.org
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/purgatory/Makefile

index 360ada80d20c3b72766f26fa1cbf138138d2dc2f..3e2c17ba04defea9ec07f249184518f9396a2d18 100644 (file)
@@ -51,4 +51,4 @@ $(obj)/purgatory.ro: $(obj)/purgatory $(obj)/purgatory.chk FORCE
 $(obj)/kexec-purgatory.o: $(obj)/kexec-purgatory.S $(obj)/purgatory.ro FORCE
        $(call if_changed_rule,as_o_S)
 
-obj-$(CONFIG_ARCH_HAS_KEXEC_PURGATORY) += kexec-purgatory.o
+obj-y += kexec-purgatory.o