diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index f9a0c30976a5..de300b993607 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -306,10 +306,16 @@ $(boot-y): $(vmlinux-32) FORCE | |||
306 | $(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) \ | 306 | $(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) \ |
307 | $(bootvars-y) arch/mips/boot/$@ | 307 | $(bootvars-y) arch/mips/boot/$@ |
308 | 308 | ||
309 | ifdef CONFIG_SYS_SUPPORTS_ZBOOT | ||
309 | # boot/compressed | 310 | # boot/compressed |
310 | $(bootz-y): $(vmlinux-32) FORCE | 311 | $(bootz-y): $(vmlinux-32) FORCE |
311 | $(Q)$(MAKE) $(build)=arch/mips/boot/compressed \ | 312 | $(Q)$(MAKE) $(build)=arch/mips/boot/compressed \ |
312 | $(bootvars-y) 32bit-bfd=$(32bit-bfd) $@ | 313 | $(bootvars-y) 32bit-bfd=$(32bit-bfd) $@ |
314 | else | ||
315 | vmlinuz: FORCE | ||
316 | @echo ' CONFIG_SYS_SUPPORTS_ZBOOT is not enabled' | ||
317 | /bin/false | ||
318 | endif | ||
313 | 319 | ||
314 | 320 | ||
315 | CLEAN_FILES += vmlinux.32 vmlinux.64 | 321 | CLEAN_FILES += vmlinux.32 vmlinux.64 |