diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2005-04-30 19:51:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-30 19:51:42 -0400 |
commit | b3d9ae4b98f6d28481d4d4b768d860a2cfb5805d (patch) | |
tree | 740fd350c127e12a902e7d781250429c30282bd7 | |
parent | 2cacb3da620a4a93f3a77e1d2c8c06bb3c74bcb0 (diff) |
[PATCH] kbuild/ppc: tell when uimage was not built
Tom Rini said:
Note that there is still a trivial'ish change to make. When mkimage
doesn't exist on the host we should say "uImage not made" or
something similar.
So I did like Tom asked.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/ppc/boot/images/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc/boot/images/Makefile b/arch/ppc/boot/images/Makefile index 774de8e23871..f850fb0fb511 100644 --- a/arch/ppc/boot/images/Makefile +++ b/arch/ppc/boot/images/Makefile | |||
@@ -20,8 +20,9 @@ quiet_cmd_uimage = UIMAGE $@ | |||
20 | 20 | ||
21 | targets += uImage | 21 | targets += uImage |
22 | $(obj)/uImage: $(obj)/vmlinux.gz | 22 | $(obj)/uImage: $(obj)/vmlinux.gz |
23 | $(Q)rm -f $@ | ||
23 | $(call if_changed,uimage) | 24 | $(call if_changed,uimage) |
24 | @echo ' Image $@ is ready' | 25 | @echo ' Image: $@' $(if $(wildcard $@),'is ready','not made') |
25 | 26 | ||
26 | # Files generated that shall be removed upon make clean | 27 | # Files generated that shall be removed upon make clean |
27 | clean-files := sImage vmapus vmlinux* miboot* zImage* uImage | 28 | clean-files := sImage vmapus vmlinux* miboot* zImage* uImage |