mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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
This commit is contained in:
committed by
Borislav Petkov
parent
6d61b8e66d
commit
081551266d
@@ -259,7 +259,8 @@ $(BOOT_TARGETS): vmlinux
|
|||||||
|
|
||||||
PHONY += install
|
PHONY += install
|
||||||
install:
|
install:
|
||||||
$(Q)$(MAKE) $(build)=$(boot) $@
|
$(CONFIG_SHELL) $(srctree)/$(boot)/install.sh $(KERNELRELEASE) \
|
||||||
|
$(KBUILD_IMAGE) System.map "$(INSTALL_PATH)"
|
||||||
|
|
||||||
PHONY += vdso_install
|
PHONY += vdso_install
|
||||||
vdso_install:
|
vdso_install:
|
||||||
|
@@ -133,7 +133,7 @@ quiet_cmd_genimage = GENIMAGE $3
|
|||||||
cmd_genimage = $(BASH) $(srctree)/$(src)/genimage.sh $2 $3 $(obj)/bzImage \
|
cmd_genimage = $(BASH) $(srctree)/$(src)/genimage.sh $2 $3 $(obj)/bzImage \
|
||||||
$(obj)/mtools.conf '$(FDARGS)' $(FDINITRD)
|
$(obj)/mtools.conf '$(FDARGS)' $(FDINITRD)
|
||||||
|
|
||||||
PHONY += bzdisk fdimage fdimage144 fdimage288 hdimage isoimage install
|
PHONY += bzdisk fdimage fdimage144 fdimage288 hdimage isoimage
|
||||||
|
|
||||||
# This requires write access to /dev/fd0
|
# This requires write access to /dev/fd0
|
||||||
# All images require syslinux to be installed; hdimage also requires
|
# All images require syslinux to be installed; hdimage also requires
|
||||||
@@ -156,8 +156,3 @@ hdimage: $(imgdeps)
|
|||||||
isoimage: $(imgdeps)
|
isoimage: $(imgdeps)
|
||||||
$(call cmd,genimage,isoimage,$(obj)/image.iso)
|
$(call cmd,genimage,isoimage,$(obj)/image.iso)
|
||||||
@$(kecho) 'Kernel: $(obj)/image.iso is ready'
|
@$(kecho) 'Kernel: $(obj)/image.iso is ready'
|
||||||
|
|
||||||
install:
|
|
||||||
$(CONFIG_SHELL) $(srctree)/$(src)/install.sh \
|
|
||||||
$(KERNELRELEASE) $(obj)/bzImage \
|
|
||||||
System.map "$(INSTALL_PATH)"
|
|
||||||
|
Reference in New Issue
Block a user