From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261418AbVEIPTU (ORCPT ); Mon, 9 May 2005 11:19:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261411AbVEIPTU (ORCPT ); Mon, 9 May 2005 11:19:20 -0400 Received: from az33egw01.freescale.net ([192.88.158.102]:25053 "EHLO az33egw01.freescale.net") by vger.kernel.org with ESMTP id S261418AbVEIPTQ convert rfc822-to-8bit (ORCPT ); Mon, 9 May 2005 11:19:16 -0400 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: 8BIT Cc: linuxppc-embedded list , Tom Rini , Linux Kernel list , " " From: Kumar Gala Subject: Re: PPC uImage build not reporting correctly Date: Mon, 9 May 2005 10:19:01 -0500 To: Sam Ravnborg X-Mailer: Apple Mail (2.619.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On May 6, 2005, at 6:22 PM, 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