From: Ralf Baechle Date: Tue, 21 Jun 2011 16:58:55 +0000 (+0100) Subject: MIPS: Don't install vmlinuz if compressed kernel has not been configured. X-Git-Tag: next-20110729~73^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2a9ce5ca9846a3acaade6e76bd19112e66ecd56e;p=karo-tx-linux.git MIPS: Don't install vmlinuz if compressed kernel has not been configured. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 53e3514ba10e..eede9b350803 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)