MIPS: Refactor arch/mips/boot/compressed/Makefile
authorSam Ravnborg <sam@ravnborg.org>
Sun, 30 May 2010 14:28:03 +0000 (16:28 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:58 +0000 (13:25 +0100)
commit35eaa1e9c9b4579100320814aeebff167ee59b0a
treeffa02e53532248ff0f24fa4aaa5ac0922d03a70d
parent961e196c7a3b3c3d1d9eb32629b0e745ce0a68d1
MIPS: Refactor arch/mips/boot/compressed/Makefile

- use hostprogs-y for the elf2ecoff
- list all *.o file in targets
- renamed obj-y to vmlinuzobjs-y (it was confusing to re-use a kbuild variable)
- fix all uses of if_changed/cmd
- use kbuild rules to beautify output
- update clean-file to clean vmlinuz.* in top-level directory

- simplied logic in arch/mips/Makefile for compressed targets

The net result is a more kbuild conformant Makefile but
readability did not increase.

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/1304/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile
arch/mips/boot/compressed/Makefile