diff options
author | Kumar Gala <galak@gate.crashing.org> | 2005-11-23 14:03:37 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:50:25 -0500 |
commit | 706e6b2caf285d3eb056c2847b7c53ae823e8a87 (patch) | |
tree | eacd5d1a2f07a7c777543442170d02e9ceb79c9c /arch | |
parent | 8c441a57d789e59ba9cc7f652a028b4a7e5471f7 (diff) |
[PATCH] powerpc: Fix suboptimal uImage target
Sam Ravnborg pointed out that calling if_changed was redundant in the
rule since a prerequisite had to have changed for us to get there.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/Makefile | 2 | ||||
-rw-r--r-- | arch/ppc/boot/images/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index dfc7eacd9bdb..22726aefc8ea 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -169,7 +169,7 @@ $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE | |||
169 | 169 | ||
170 | $(obj)/uImage: $(obj)/vmlinux.gz | 170 | $(obj)/uImage: $(obj)/vmlinux.gz |
171 | $(Q)rm -f $@ | 171 | $(Q)rm -f $@ |
172 | $(call if_changed,uimage) | 172 | $(call cmd,uimage) |
173 | @echo -n ' Image: $@ ' | 173 | @echo -n ' Image: $@ ' |
174 | @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi | 174 | @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi |
175 | 175 | ||
diff --git a/arch/ppc/boot/images/Makefile b/arch/ppc/boot/images/Makefile index 532e7ef1edb6..58415d5718e3 100644 --- a/arch/ppc/boot/images/Makefile +++ b/arch/ppc/boot/images/Makefile | |||
@@ -26,7 +26,7 @@ quiet_cmd_uimage = UIMAGE $@ | |||
26 | targets += uImage | 26 | targets += uImage |
27 | $(obj)/uImage: $(obj)/vmlinux.gz | 27 | $(obj)/uImage: $(obj)/vmlinux.gz |
28 | $(Q)rm -f $@ | 28 | $(Q)rm -f $@ |
29 | $(call if_changed,uimage) | 29 | $(call cmd,uimage) |
30 | @echo -n ' Image: $@ ' | 30 | @echo -n ' Image: $@ ' |
31 | @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi | 31 | @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi |
32 | 32 | ||