Commit d745866e authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Ralf Baechle
Browse files

MIPS: Clean up arch/mips/Makefile



- Drop CLEAN_FILES assignments that is no longer required
- Add $(Q) in a few rules
Signed-off-by: default avatarSam 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 35eaa1e9
...@@ -278,8 +278,7 @@ vmlinuz vmlinuz.bin vmlinuz.ecoff vmlinuz.srec: $(vmlinux-32) FORCE ...@@ -278,8 +278,7 @@ vmlinuz vmlinuz.bin vmlinuz.ecoff vmlinuz.srec: $(vmlinux-32) FORCE
VMLINUX_LOAD_ADDRESS=$(load-y) 32bit-bfd=$(32bit-bfd) $@ VMLINUX_LOAD_ADDRESS=$(load-y) 32bit-bfd=$(32bit-bfd) $@
CLEAN_FILES += vmlinux.ecoff \ CLEAN_FILES += vmlinux.32 vmlinux.64
vmlinux.srec
archprepare: archprepare:
ifdef CONFIG_MIPS32_N32 ifdef CONFIG_MIPS32_N32
...@@ -298,9 +297,9 @@ install: ...@@ -298,9 +297,9 @@ install:
$(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE) $(Q)install -D -m 644 System.map $(INSTALL_PATH)/System.map-$(KERNELRELEASE)
archclean: archclean:
@$(MAKE) $(clean)=arch/mips/boot $(Q)$(MAKE) $(clean)=arch/mips/boot
@$(MAKE) $(clean)=arch/mips/boot/compressed $(Q)$(MAKE) $(clean)=arch/mips/boot/compressed
@$(MAKE) $(clean)=arch/mips/lasat $(Q)$(MAKE) $(clean)=arch/mips/lasat
define archhelp define archhelp
echo ' install - install kernel into $(INSTALL_PATH)' echo ' install - install kernel into $(INSTALL_PATH)'
...@@ -314,11 +313,3 @@ define archhelp ...@@ -314,11 +313,3 @@ define archhelp
echo echo
echo ' These will be default as apropriate for a configured platform.' echo ' These will be default as apropriate for a configured platform.'
endef endef
CLEAN_FILES += vmlinux.32 \
vmlinux.64 \
vmlinux.ecoff \
vmlinuz \
vmlinuz.ecoff \
vmlinuz.bin \
vmlinuz.srec
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment