Skip to content

Commit d80d3ea

Browse files
masahir0yhcahca
authored andcommitted
s390: move the install rule to arch/s390/Makefile
Currently, the install target in arch/s390/Makefile descends into arch/s390/boot/Makefile to invoke the shell script, but there is no good reason to do so. arch/s390/Makefile can run the shell script directly. Signed-off-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
1 parent e37b3dd commit d80d3ea

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

arch/s390/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ all: bzImage
142142
KBUILD_IMAGE := $(boot)/bzImage
143143

144144
install:
145-
$(Q)$(MAKE) $(build)=$(boot) $@
145+
sh -x $(srctree)/$(boot)/install.sh $(KERNELRELEASE) $(KBUILD_IMAGE) \
146+
System.map "$(INSTALL_PATH)"
146147

147148
bzImage: vmlinux
148149
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@

arch/s390/boot/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,3 @@ $(obj)/compressed/vmlinux: $(obj)/startup.a FORCE
7070

7171
$(obj)/startup.a: $(OBJECTS) FORCE
7272
$(call if_changed,ar)
73-
74-
install:
75-
sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
76-
System.map "$(INSTALL_PATH)"

0 commit comments

Comments
 (0)