|
@@ -306,10 +306,16 @@ $(boot-y): $(vmlinux-32) FORCE
|
|
$(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) \
|
|
$(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) \
|
|
$(bootvars-y) arch/mips/boot/$@
|
|
$(bootvars-y) arch/mips/boot/$@
|
|
|
|
|
|
|
|
+ifdef CONFIG_SYS_SUPPORTS_ZBOOT
|
|
# boot/compressed
|
|
# boot/compressed
|
|
$(bootz-y): $(vmlinux-32) FORCE
|
|
$(bootz-y): $(vmlinux-32) FORCE
|
|
$(Q)$(MAKE) $(build)=arch/mips/boot/compressed \
|
|
$(Q)$(MAKE) $(build)=arch/mips/boot/compressed \
|
|
$(bootvars-y) 32bit-bfd=$(32bit-bfd) $@
|
|
$(bootvars-y) 32bit-bfd=$(32bit-bfd) $@
|
|
|
|
+else
|
|
|
|
+vmlinuz: FORCE
|
|
|
|
+ @echo ' CONFIG_SYS_SUPPORTS_ZBOOT is not enabled'
|
|
|
|
+ /bin/false
|
|
|
|
+endif
|
|
|
|
|
|
|
|
|
|
CLEAN_FILES += vmlinux.32 vmlinux.64
|
|
CLEAN_FILES += vmlinux.32 vmlinux.64
|