Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59968d3b authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Makefile: Add simple make install target.

parent d6c178e9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -720,11 +720,17 @@ ifdef CONFIG_MIPS32_O32
	$(Q)$(MAKE) $(build)=. missing-syscalls EXTRA_CFLAGS="-mabi=32"
endif

install:
	$(Q)install -D -m 755 vmlinux $(INSTALL_PATH)/vmlinux-$(KERNELRELEASE)
	$(Q)install -D -m 644 .config $(INSTALL_PATH)/config-$(KERNELRELEASE)
	$(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE)

archclean:
	@$(MAKE) $(clean)=arch/mips/boot
	@$(MAKE) $(clean)=arch/mips/lasat

define archhelp
	echo '  install              - install kernel into $(INSTALL_PATH)'
	echo '  vmlinux.ecoff        - ECOFF boot image'
	echo '  vmlinux.bin          - Raw binary boot image'
	echo '  vmlinux.srec         - SREC boot image'