From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH 1/1] metag: avoid unnecessary builtin dtb rebuilds Date: Wed, 17 Apr 2013 09:37:58 -0600 Message-ID: <516EC1D6.6010205@wwwdotorg.org> References: <1366192975-14953-1-git-send-email-james.hogan@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1366192975-14953-1-git-send-email-james.hogan@imgtec.com> Sender: linux-kbuild-owner@vger.kernel.org To: James Hogan Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, Stephen Warren , Vineet Gupta , Grant Likely , Michal Marek , Sam Ravnborg List-Id: linux-arch.vger.kernel.org On 04/17/2013 04:02 AM, James Hogan wrote: > The builtin .dtb.S intermediate file needs to be marked with .SECONDARY > so that it isn't automatically deleted (which causes it to be > regenerated on every build). Also add *.dtb.S to clean-files so it gets > cleaned up by make clean. > > Similarly, if the specified builtin dtb isn't already in dtb-y (e.g. > imported into the tree and specified in CONFIG_METAG_BUILTIN_DTB_NAME) > it too will be treated as an intermediate and deleted automatically > (again causing it to be regenerated on every build), so add it to dtb-y > so it gets added to targets and the dtbs target. Reviewed-by: Stephen Warren From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from avon.wwwdotorg.org ([70.85.31.133]:53568 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965236Ab3DQPpR (ORCPT ); Wed, 17 Apr 2013 11:45:17 -0400 Message-ID: <516EC1D6.6010205@wwwdotorg.org> Date: Wed, 17 Apr 2013 09:37:58 -0600 From: Stephen Warren MIME-Version: 1.0 Subject: Re: [PATCH 1/1] metag: avoid unnecessary builtin dtb rebuilds References: <1366192975-14953-1-git-send-email-james.hogan@imgtec.com> In-Reply-To: <1366192975-14953-1-git-send-email-james.hogan@imgtec.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: James Hogan Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, Stephen Warren , Vineet Gupta , Grant Likely , Michal Marek , Sam Ravnborg Message-ID: <20130417153758.wLidmmACQ0WJQM0XMXQ3-b6onN8UcIRvT3Kltqvxewk@z> On 04/17/2013 04:02 AM, James Hogan wrote: > The builtin .dtb.S intermediate file needs to be marked with .SECONDARY > so that it isn't automatically deleted (which causes it to be > regenerated on every build). Also add *.dtb.S to clean-files so it gets > cleaned up by make clean. > > Similarly, if the specified builtin dtb isn't already in dtb-y (e.g. > imported into the tree and specified in CONFIG_METAG_BUILTIN_DTB_NAME) > it too will be treated as an intermediate and deleted automatically > (again causing it to be regenerated on every build), so add it to dtb-y > so it gets added to targets and the dtbs target. Reviewed-by: Stephen Warren