diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 08:49:40 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 08:49:40 -0400 |
commit | 59968d3bb927f54db660e7cd4de389ebc292eec0 (patch) | |
tree | eea540c7a341547b64c1a2c6e4f49904d294862d /arch/mips | |
parent | d6c178e9694e7e0c7ffe0289cf4389a498cac735 (diff) |
MIPS: Makefile: Add simple make install target.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 22dab2e14348..8d544c7c9fe9 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -720,11 +720,17 @@ ifdef CONFIG_MIPS32_O32 | |||
720 | $(Q)$(MAKE) $(build)=. missing-syscalls EXTRA_CFLAGS="-mabi=32" | 720 | $(Q)$(MAKE) $(build)=. missing-syscalls EXTRA_CFLAGS="-mabi=32" |
721 | endif | 721 | endif |
722 | 722 | ||
723 | install: | ||
724 | $(Q)install -D -m 755 vmlinux $(INSTALL_PATH)/vmlinux-$(KERNELRELEASE) | ||
725 | $(Q)install -D -m 644 .config $(INSTALL_PATH)/config-$(KERNELRELEASE) | ||
726 | $(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE) | ||
727 | |||
723 | archclean: | 728 | archclean: |
724 | @$(MAKE) $(clean)=arch/mips/boot | 729 | @$(MAKE) $(clean)=arch/mips/boot |
725 | @$(MAKE) $(clean)=arch/mips/lasat | 730 | @$(MAKE) $(clean)=arch/mips/lasat |
726 | 731 | ||
727 | define archhelp | 732 | define archhelp |
733 | echo ' install - install kernel into $(INSTALL_PATH)' | ||
728 | echo ' vmlinux.ecoff - ECOFF boot image' | 734 | echo ' vmlinux.ecoff - ECOFF boot image' |
729 | echo ' vmlinux.bin - Raw binary boot image' | 735 | echo ' vmlinux.bin - Raw binary boot image' |
730 | echo ' vmlinux.srec - SREC boot image' | 736 | echo ' vmlinux.srec - SREC boot image' |