diff options
| author | Youling Tang <tangyouling@kylinos.cn> | 2025-05-30 21:45:42 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-05-30 21:45:42 +0800 |
| commit | 75cffd392bfabc30ee88836887ea5439ec3b8089 (patch) | |
| tree | dec076579486e7cf8ed07c820a5fd2f0b09b4130 | |
| parent | a96c7330da0b4cc64c6f79044d03f52532bdfc5b (diff) | |
LoongArch: Using generic scripts/install.sh in `make install`
Use the generic script/install.sh to perform the make install operation.
This will automatically generate the initrd file and modify the grub.cfg
without manual intervention (The previous kernel image, config file and
System.map will also be generated), similar to other architectures.
Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
| -rw-r--r-- | arch/loongarch/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/loongarch/Makefile b/arch/loongarch/Makefile index 0304eabbe606..64bdb52ddf7c 100644 --- a/arch/loongarch/Makefile +++ b/arch/loongarch/Makefile @@ -181,9 +181,7 @@ vmlinux.elf vmlinux.efi vmlinuz.efi: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(bootvars-y) $(boot)/$@ install: - $(Q)install -D -m 755 $(KBUILD_IMAGE) $(INSTALL_PATH)/$(image-name-y)-$(KERNELRELEASE) - $(Q)install -D -m 644 .config $(INSTALL_PATH)/config-$(KERNELRELEASE) - $(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE) + $(call cmd,install) define archhelp echo ' install - install kernel into $(INSTALL_PATH)' |
