summaryrefslogtreecommitdiff
path: root/arch/x86/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-07-29 17:00:23 +0300
committerBorislav Petkov <bp@suse.de>2021-08-25 12:57:38 +0300
commit081551266d2fbf6ce69a30c13a355ee476b2e745 (patch)
tree80367a9a516f8328dd782eb57a909131148508e8 /arch/x86/Makefile
parent6d61b8e66d343d61b650f9a2ca4d8746dc6cf774 (diff)
downloadlinux-081551266d2fbf6ce69a30c13a355ee476b2e745.tar.xz
x86/build: Move the install rule to arch/x86/Makefile
Currently, the install target in arch/x86/Makefile descends into arch/x86/boot/Makefile to invoke the shell script, but there is no good reason to do so. arch/x86/Makefile can run the shell script directly. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210729140023.442101-2-masahiroy@kernel.org
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r--arch/x86/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 1a7c10ee9a37..d82d01490dd3 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -259,7 +259,8 @@ $(BOOT_TARGETS): vmlinux
PHONY += install
install:
- $(Q)$(MAKE) $(build)=$(boot) $@
+ $(CONFIG_SHELL) $(srctree)/$(boot)/install.sh $(KERNELRELEASE) \
+ $(KBUILD_IMAGE) System.map "$(INSTALL_PATH)"
PHONY += vdso_install
vdso_install: