[PATCH] powerpc: Fix suboptimal uImage target
authorKumar Gala <galak@gate.crashing.org>
Wed, 23 Nov 2005 19:03:37 +0000 (13:03 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:50:25 +0000 (14:50 +1100)
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>
arch/powerpc/boot/Makefile
arch/ppc/boot/images/Makefile

index dfc7eacd9bdbb0fbb064af1d42f76565ac189264..22726aefc8ea6d3cb68cb8808a0b0859343cafce 100644 (file)
@@ -169,7 +169,7 @@ $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
 
 $(obj)/uImage: $(obj)/vmlinux.gz
        $(Q)rm -f $@
-       $(call if_changed,uimage)
+       $(call cmd,uimage)
        @echo -n '  Image: $@ '
        @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi
 
index 532e7ef1edb6229405496e85dbd5cb3f12301f07..58415d5718e35eab594c118d81d98aa3f4d4c9b2 100644 (file)
@@ -26,7 +26,7 @@ quiet_cmd_uimage = UIMAGE  $@
 targets += uImage
 $(obj)/uImage: $(obj)/vmlinux.gz
        $(Q)rm -f $@
-       $(call if_changed,uimage)
+       $(call cmd,uimage)
        @echo -n '  Image: $@ '
        @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi