path: root/arch/ppc/boot/images/Makefile
diff options
authorSam Ravnborg <sam@ravnborg.org>2005-04-30 16:51:42 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 16:51:42 -0700
commitb3d9ae4b98f6d28481d4d4b768d860a2cfb5805d (patch)
tree740fd350c127e12a902e7d781250429c30282bd7 /arch/ppc/boot/images/Makefile
parent[PATCH] kbuild/i386: re-introduce dependency on vmlinux for install target, and add kernel_install (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>
Diffstat (limited to 'arch/ppc/boot/images/Makefile')
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 $@
targets += uImage
$(obj)/uImage: $(obj)/vmlinux.gz
+ $(Q)rm -f $@
$(call if_changed,uimage)
- @echo ' Image $@ is ready'
+ @echo ' Image: $@' $(if $(wildcard $@),'is ready','not made')
# Files generated that shall be removed upon make clean
clean-files := sImage vmapus vmlinux* miboot* zImage* uImage