From d9beeecae674b62250ca68b93042d3a31551bad6 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 21 Jun 2011 17:58:55 +0100 Subject: [PATCH] MIPS: Don't install vmlinuz if compressed kernel has not been configured. Signed-off-by: Ralf Baechle --- arch/mips/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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)