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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexander Gordeev <[email protected]>
1 parent b9a56c1 commit 20159e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)