aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 93ce1cefcdf8..3637ba52ebce 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -266,26 +266,18 @@ vmlinux.32: vmlinux
266vmlinux.64: vmlinux 266vmlinux.64: vmlinux
267 $(OBJCOPY) -O $(64bit-bfd) $(OBJCOPYFLAGS) $< $@ 267 $(OBJCOPY) -O $(64bit-bfd) $(OBJCOPYFLAGS) $< $@
268 268
269makezboot =$(Q)$(MAKE) $(build)=arch/mips/boot/compressed \
270 VMLINUX_LOAD_ADDRESS=$(load-y) 32bit-bfd=$(32bit-bfd) $(1)
271
272all: $(all-y) 269all: $(all-y)
273 270
274vmlinuz: vmlinux FORCE 271# boot
275 +@$(call makezboot,$@)
276
277vmlinuz.bin: vmlinux
278 +@$(call makezboot,$@)
279
280vmlinuz.ecoff: vmlinux
281 +@$(call makezboot,$@)
282
283vmlinuz.srec: vmlinux
284 +@$(call makezboot,$@)
285
286vmlinux.bin vmlinux.ecoff vmlinux.srec: $(vmlinux-32) FORCE 272vmlinux.bin vmlinux.ecoff vmlinux.srec: $(vmlinux-32) FORCE
287 $(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) arch/mips/boot/$@ 273 $(Q)$(MAKE) $(build)=arch/mips/boot VMLINUX=$(vmlinux-32) arch/mips/boot/$@
288 274
275# boot/compressed
276vmlinuz vmlinuz.bin vmlinuz.ecoff vmlinuz.srec: $(vmlinux-32) FORCE
277 $(Q)$(MAKE) $(build)=arch/mips/boot/compressed \
278 VMLINUX_LOAD_ADDRESS=$(load-y) 32bit-bfd=$(32bit-bfd) $@
279
280
289CLEAN_FILES += vmlinux.ecoff \ 281CLEAN_FILES += vmlinux.ecoff \
290 vmlinux.srec 282 vmlinux.srec
291 283