summaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2018-01-16 04:29:54 +0100
committerJames Hogan <jhogan@kernel.org>2018-01-18 22:52:04 +0100
commit809769a8f0676e3b70f6a7f4b74070bbd8002a2a (patch)
tree8674bdcf083d47bcec1aaa937ae481318154244a /arch/mips/Makefile
parentMIPS: mm: remove mips_dma_mapping_error (diff)
downloadlinux-809769a8f0676e3b70f6a7f4b74070bbd8002a2a.tar.xz
linux-809769a8f0676e3b70f6a7f4b74070bbd8002a2a.zip
MIPS: Fix vmlinuz build when ZBOOT is selected
vmlinuz is not built by default for platforms using COMPRESSION_FNAME (e.g. Malta) due to an erroneous check on ZBOOT Signed-off-by: Daniel Sabogal <dsabogalcc@gmail.com> Reviewed-by: James Hogan <jhogan@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18466/ Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 9f6a26d72f9f..0f20f84de53b 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -228,7 +228,7 @@ libs-y += arch/mips/fw/lib/
#
# Kernel compression
#
-ifdef SYS_SUPPORTS_ZBOOT
+ifdef CONFIG_SYS_SUPPORTS_ZBOOT
COMPRESSION_FNAME = vmlinuz
else
COMPRESSION_FNAME = vmlinux