From dac9b396b6c1b2c608ea1ec09973af4626475151 Mon Sep 17 00:00:00 2001 From: Wu Zhangjin Date: Wed, 10 Nov 2010 00:26:34 +0800 Subject: [PATCH] MIPS: Quiet the building output of vmlinux.32 and vmlinux.64 Based on quiet_cmd_X and cmd_X, this patch quiets the building output of vmlinux.32 and vmlinux.64. Signed-off-by: Wu Zhangjin Cc: linux-mips@linux-mips.org Cc: Sam Ravnborg Patchwork: https://patchwork.linux-mips.org/patch/1766/ Signed-off-by: Ralf Baechle --- arch/mips/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 75a36ad11ff5..5b142ccb07b6 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -285,9 +285,10 @@ endif # Other need ECOFF, so we build a 32-bit ELF binary for them which we then # convert to ECOFF using elf2ecoff. # +quiet_cmd_32 = OBJCOPY $@ + cmd_32 = $(OBJCOPY) -O $(32bit-bfd) $(OBJCOPYFLAGS) $< $@ vmlinux.32: vmlinux - $(OBJCOPY) -O $(32bit-bfd) $(OBJCOPYFLAGS) $< $@ - + $(call cmd,32) #obj-$(CONFIG_KPROBES) += kprobes.o @@ -295,8 +296,10 @@ vmlinux.32: vmlinux # The 64-bit ELF tools are pretty broken so at this time we generate 64-bit # ELF files from 32-bit files by conversion. # +quiet_cmd_64 = OBJCOPY $@ + cmd_64 = $(OBJCOPY) -O $(64bit-bfd) $(OBJCOPYFLAGS) $< $@ vmlinux.64: vmlinux - $(OBJCOPY) -O $(64bit-bfd) $(OBJCOPYFLAGS) $< $@ + $(call cmd,64) all: $(all-y) -- 2.39.5