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 <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
---
commit f772a90e948f019c3111a94394b3a649874417c7
tree c9d59c269792db4933039da49b3b3836ac5b01f5
parent c140244727aa88fcaefe34af4abc56e85b471da2
author Kumar K. Gala <[email protected]> Tue, 10 May 2005 10:27:46 -0500
committer Kumar K. Gala <[email protected]> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]