diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 50f780aa8323..93ce1cefcdf8 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -266,7 +266,6 @@ vmlinux.32: vmlinux | |||
266 | vmlinux.64: vmlinux | 266 | vmlinux.64: vmlinux |
267 | $(OBJCOPY) -O $(64bit-bfd) $(OBJCOPYFLAGS) $< $@ | 267 | $(OBJCOPY) -O $(64bit-bfd) $(OBJCOPYFLAGS) $< $@ |
268 | 268 | ||
269 | makeboot =$(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) $(1) | ||
270 | makezboot =$(Q)$(MAKE) $(build)=arch/mips/boot/compressed \ | 269 | makezboot =$(Q)$(MAKE) $(build)=arch/mips/boot/compressed \ |
271 | VMLINUX_LOAD_ADDRESS=$(load-y) 32bit-bfd=$(32bit-bfd) $(1) | 270 | VMLINUX_LOAD_ADDRESS=$(load-y) 32bit-bfd=$(32bit-bfd) $(1) |
272 | 271 | ||
@@ -284,14 +283,8 @@ vmlinuz.ecoff: vmlinux | |||
284 | vmlinuz.srec: vmlinux | 283 | vmlinuz.srec: vmlinux |
285 | +@$(call makezboot,$@) | 284 | +@$(call makezboot,$@) |
286 | 285 | ||
287 | vmlinux.bin: $(vmlinux-32) | 286 | vmlinux.bin vmlinux.ecoff vmlinux.srec: $(vmlinux-32) FORCE |
288 | +@$(call makeboot,$@) | 287 | $(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) arch/mips/boot/$@ |
289 | |||
290 | vmlinux.ecoff: $(vmlinux-32) | ||
291 | +@$(call makeboot,$@) | ||
292 | |||
293 | vmlinux.srec: $(vmlinux-32) | ||
294 | +@$(call makeboot,$@) | ||
295 | 288 | ||
296 | CLEAN_FILES += vmlinux.ecoff \ | 289 | CLEAN_FILES += vmlinux.ecoff \ |
297 | vmlinux.srec | 290 | vmlinux.srec |