DORMANTno replies

[PATCH] ppc32: Fix uImage make target to report success correctly

From: Kumar Gala <hidden>
Date: 2005-05-11 15:11:15
Also in: lkml

The existing make rule when building a uImage would check to see
if the image file existed to report 'is ready' or 'not made'.
However make appeared to compute the file list before the rule
was executed.

Signed-off-by: Chris Clark <redacted>
Signed-off-by: Kumar Gala <redacted>
Signed-off-by: Sam Ravnborg <redacted> 

---
commit f772a90e948f019c3111a94394b3a649874417c7
tree c9d59c269792db4933039da49b3b3836ac5b01f5
parent c140244727aa88fcaefe34af4abc56e85b471da2
author Kumar K. Gala [off-list ref] Tue, 10 May 2005 10:27:46 -0500
committer Kumar K. Gala [off-list ref] Tue, 10 May 2005 10:27:46 -0500

 ppc/boot/images/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

Index: arch/ppc/boot/images/Makefile
===================================================================
--- dd5d97e6f88b8fbfcc09878d837c8e90590484b8/arch/ppc/boot/images/Makefile  (mode:100644)
+++ c9d59c269792db4933039da49b3b3836ac5b01f5/arch/ppc/boot/images/Makefile  (mode:100644)
@@ -22,7 +22,8 @@
 $(obj)/uImage: $(obj)/vmlinux.gz
 	$(Q)rm -f $@
 	$(call if_changed,uimage)
-	@echo '  Image: $@' $(if $(wildcard $@),'is ready','not made')
+	@echo -n '  Image: $@ '
+	@if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi
 
 # Files generated that shall be removed upon make clean
 clean-files	:= sImage vmapus vmlinux* miboot* zImage* uImage
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help