diff options
-rw-r--r-- | arch/mips/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 1893efd43fca..2dcb7a22582a 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -185,6 +185,15 @@ libs-$(CONFIG_SNIPROM) += arch/mips/fw/sni/ | |||
185 | libs-y += arch/mips/fw/lib/ | 185 | libs-y += arch/mips/fw/lib/ |
186 | 186 | ||
187 | # | 187 | # |
188 | # Kernel compression | ||
189 | # | ||
190 | ifdef SYS_SUPPORTS_ZBOOT | ||
191 | COMPRESSION_FNAME = vmlinuz | ||
192 | else | ||
193 | COMPRESSION_FNAME = vmlinux | ||
194 | endif | ||
195 | |||
196 | # | ||
188 | # Board-dependent options and extra files | 197 | # Board-dependent options and extra files |
189 | # | 198 | # |
190 | 199 | ||
@@ -344,7 +353,7 @@ load-$(CONFIG_LEMOTE_MACH2F) +=0xffffffff80200000 | |||
344 | core-$(CONFIG_MIPS_MALTA) += arch/mips/mti-malta/ | 353 | core-$(CONFIG_MIPS_MALTA) += arch/mips/mti-malta/ |
345 | cflags-$(CONFIG_MIPS_MALTA) += -I$(srctree)/arch/mips/include/asm/mach-malta | 354 | cflags-$(CONFIG_MIPS_MALTA) += -I$(srctree)/arch/mips/include/asm/mach-malta |
346 | load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 | 355 | load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 |
347 | all-$(CONFIG_MIPS_MALTA) := vmlinuz.bin | 356 | all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin |
348 | 357 | ||
349 | # | 358 | # |
350 | # MIPS SIM | 359 | # MIPS SIM |
@@ -594,7 +603,7 @@ load-$(CONFIG_SNI_RM) += 0xffffffff80600000 | |||
594 | else | 603 | else |
595 | load-$(CONFIG_SNI_RM) += 0xffffffff80030000 | 604 | load-$(CONFIG_SNI_RM) += 0xffffffff80030000 |
596 | endif | 605 | endif |
597 | all-$(CONFIG_SNI_RM) := vmlinuz.ecoff | 606 | all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff |
598 | 607 | ||
599 | # | 608 | # |
600 | # Common TXx9 | 609 | # Common TXx9 |