lkml.org 
[lkml]   [2005]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PPC uImage build not reporting correctly
Date

On May 6, 2005, at 6:22 PM, <cpclark@xmission.com> wrote:

> On Fri, 6 May 2005, Kumar Gala wrote:
> > I tried the following w/o success:
> >
> > $(obj)/uImage: $(obj)/vmlinux.gz
> >         $(Q)rm -f $@
> >         $(call if_changed,uimage)
> >         @echo '  Image: $@' $(shell if [ -f $@ ]; then echo 'is
> ready'; else
> > echo 'not made'; fi)
>
> Couldn't you eliminate the ($shell ..) construct altogether, like
> this?:
>
> $(obj)/uImage: $(obj)/vmlinux.gz
>         $(Q)rm -f $@
>         $(call if_changed,uimage)
>         @echo -n '  Image: $@'
>         @if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi

Yes, and this seems to actually work.

Sam, does this look reasonable to you. If so I will work up a patch.

thanks

- kumar

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-09 17:23    [W:0.041 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site