Skip to content

Commit

Permalink
MIPS: Clean up arch/mips/Makefile
Browse files Browse the repository at this point in the history
- Drop CLEAN_FILES assignments that is no longer required
- Add $(Q) in a few rules

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
To: linux-mips <linux-mips@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1305/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Sam Ravnborg authored and Ralf Baechle committed Aug 5, 2010
1 parent 35eaa1e commit d745866
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ vmlinuz vmlinuz.bin vmlinuz.ecoff vmlinuz.srec: $(vmlinux-32) FORCE
VMLINUX_LOAD_ADDRESS=$(load-y) 32bit-bfd=$(32bit-bfd) $@


CLEAN_FILES += vmlinux.ecoff \
vmlinux.srec
CLEAN_FILES += vmlinux.32 vmlinux.64

archprepare:
ifdef CONFIG_MIPS32_N32
Expand All @@ -298,9 +297,9 @@ install:
$(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE)

archclean:
@$(MAKE) $(clean)=arch/mips/boot
@$(MAKE) $(clean)=arch/mips/boot/compressed
@$(MAKE) $(clean)=arch/mips/lasat
$(Q)$(MAKE) $(clean)=arch/mips/boot
$(Q)$(MAKE) $(clean)=arch/mips/boot/compressed
$(Q)$(MAKE) $(clean)=arch/mips/lasat

define archhelp
echo ' install - install kernel into $(INSTALL_PATH)'
Expand All @@ -314,11 +313,3 @@ define archhelp
echo
echo ' These will be default as apropriate for a configured platform.'
endef

CLEAN_FILES += vmlinux.32 \
vmlinux.64 \
vmlinux.ecoff \
vmlinuz \
vmlinuz.ecoff \
vmlinuz.bin \
vmlinuz.srec

0 comments on commit d745866

Please sign in to comment.