Skip to content

Commit 20159e2

Browse files
masahir0yAlexander Gordeev
authored andcommitted
s390/purgatory: remove duplicated build rule of kexec-purgatory.o
This is equivalent to the pattern rule in scripts/Makefile.build. Having the dependency on $(obj)/purgatory.ro is enough. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20220613170902.1775211-3-masahiroy@kernel.org Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
1 parent b9a56c1 commit 20159e2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/s390/purgatory/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ OBJCOPYFLAGS_purgatory.ro += --remove-section='.note.*'
4848
$(obj)/purgatory.ro: $(obj)/purgatory $(obj)/purgatory.chk FORCE
4949
$(call if_changed,objcopy)
5050

51-
$(obj)/kexec-purgatory.o: $(obj)/kexec-purgatory.S $(obj)/purgatory.ro FORCE
52-
$(call if_changed_rule,as_o_S)
51+
$(obj)/kexec-purgatory.o: $(obj)/purgatory.ro
5352

5453
obj-y += kexec-purgatory.o

0 commit comments

Comments
 (0)