]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
MIPS: Don't install vmlinuz if compressed kernel has not been configured.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 21 Jun 2011 16:58:55 +0000 (17:58 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 20 Oct 2011 14:00:19 +0000 (15:00 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile

index 53e3514ba10e93c249d837f460fb86fbe3879f52..eede9b350803b230649c189b34ff16543025d107 100644 (file)
@@ -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)