summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-06-21 17:58:55 +0100
committerRalf Baechle <ralf@linux-mips.org>2011-10-20 15:00:19 +0100
commitd9beeecae674b62250ca68b93042d3a31551bad6 (patch)
tree1f1d3981a88f95750ebc837fa8b8b083bb54037b /arch/mips
parent39ad56805a3bcf259d7549e73a3c9d557c2efd7b (diff)
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')
-rw-r--r--arch/mips/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 53e3514ba10..eede9b35080 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)