summaryrefslogtreecommitdiff
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-06-21 16:58:55 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2011-10-20 14:00:19 (GMT)
commitd9beeecae674b62250ca68b93042d3a31551bad6 (patch)
tree1f1d3981a88f95750ebc837fa8b8b083bb54037b /arch/mips/Makefile
parent39ad56805a3bcf259d7549e73a3c9d557c2efd7b (diff)
downloadlinux-d9beeecae674b62250ca68b93042d3a31551bad6.tar.xz
MIPS: Don't install vmlinuz if compressed kernel has not been configured.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 53e3514..eede9b3 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -295,7 +295,9 @@ endif
install:
$(Q)install -D -m 755 vmlinux $(INSTALL_PATH)/vmlinux-$(KERNELRELEASE)
+ifdef CONFIG_SYS_SUPPORTS_ZBOOT
$(Q)install -D -m 755 vmlinuz $(INSTALL_PATH)/vmlinuz-$(KERNELRELEASE)
+endif
$(Q)install -D -m 644 .config $(INSTALL_PATH)/config-$(KERNELRELEASE)
$(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE)