From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from webbox1416.server-home.net ([77.236.96.61]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RqM5K-0004k6-DE for ptxdist@pengutronix.de; Thu, 26 Jan 2012 10:57:39 +0100 Received: from comm.systec-electronic.de (95-91-85-164-dynip.superkabel.de [95.91.85.164]) by webbox1416.server-home.net (Postfix) with ESMTPA id C0BE427A630 for ; Thu, 26 Jan 2012 11:01:53 +0100 (CET) Received: from ws-stein.localnet (unknown [192.168.10.38]) by comm.systec-electronic.de (Postfix) with ESMTP id E140897C068 for ; Thu, 26 Jan 2012 10:57:37 +0100 (CET) From: Alexander Stein Date: Thu, 26 Jan 2012 10:57:36 +0100 Message-ID: <1526176.1M6f797uKQ@ws-stein> In-Reply-To: <1320851812-5969-1-git-send-email-alexander.stein@systec-electronic.com> References: <1320851812-5969-1-git-send-email-alexander.stein@systec-electronic.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [PATCH] $(KERNEL_PATH)/vmlinux should not depend on kernel.targetinstall Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi there, any news on this topic? Regards, Alexander On Wednesday 09 November 2011 16:16:52 you wrote: > If PTXCONF_KERNEL_IMAGE_VMLINUX is set, KERNEL_IMAGE_PATH_y is set to > $(KERNEL_PATH)/vmlinux. This should not depend on kernel.targetinstall > because kernel.targetinstall will be newer than vmlinux and make tries > to recreate vmlinux and implicit removes the target file. > > Signed-off-by: Alexander Stein > --- > rules/post/image_kernel.make | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/rules/post/image_kernel.make b/rules/post/image_kernel.make > index 7ffeed6..6f1defe 100644 > --- a/rules/post/image_kernel.make > +++ b/rules/post/image_kernel.make > @@ -23,7 +23,9 @@ $(STATEDIR)/image_kernel.compile: $(IMAGEDIR)/root.cpio > $(KERNEL_MAKEVARS) $(KERNEL_IMAGE) > @echo "done." > > +ifndef PTXCONF_KERNEL_IMAGE_VMLINUX > $(KERNEL_IMAGE_PATH_y): $(STATEDIR)/kernel.targetinstall > +endif > > $(IMAGEDIR)/linuximage: $(KERNEL_IMAGE_PATH_y) > @echo -n "Creating '$(notdir $(@))' from '$(notdir $(<))'..." -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH August-Bebel-Str. 29 D-07973 Greiz Tel: +49-3661-6279-0, Fax: +49-3661-6279-99 eMail: Alexander.Stein@systec-electronic.com Internet: http://www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Jena, HRB 205563 -- ptxdist mailing list ptxdist@pengutronix.de