From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [PATCH V7 1/7] kbuild: centralize .dts->.dtb rule Date: Wed, 28 Nov 2012 17:44:26 +0000 Message-ID: <20121128174426.GD17405@arm.com> References: <1354058956-7199-1-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <1354058956-7199-1-git-send-email-swarren@wwwdotorg.org> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org To: Stephen Warren Cc: Michal Marek , Grant Likely , "rob.herring@calxeda.com" , Sam Ravnborg , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , Stephen Warren , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , Olof Johansson , Russell King , Jonas Bonn , "linux@openrisc.net" , Aurelien Jacquiot , "linux-c6x-dev@linux-c6x.org" , "msalter@redhat.com" , Michal Simek , "microblaze-uclinux@itee.uq.edu.au" , Chris Zankel , linux-xtensa@l List-Id: linux-arch.vger.kernel.org On Tue, Nov 27, 2012 at 11:29:10PM +0000, Stephen Warren wrote: > From: Stephen Warren > > All architectures that use cmd_dtc do so in almost the same way. Create > a central build rule to avoid duplication. The one difference is that > most current uses of dtc build $(obj)/%.dtb from $(src)/dts/%.dts rather > than building the .dtb in the same directory as the .dts file. This > difference will be eliminated arch-by-arch in future patches. > > MIPS is the exception here; it already uses the exact same rule as the > new common rule, so the duplicate is removed in this patch to avoid any > conflict. arch/mips changes courtesy of Ralf Baechle. > > Update Documentation/kbuild to remove the explicit call to cmd_dtc from > the example, now that the rule exists in a centralized location. > > Cc: Arnd Bergmann > Cc: linux-arm-kernel@lists.infradead.org > Cc: Olof Johansson > Cc: Russell King > Cc: Catalin Marinas > Cc: Jonas Bonn > Cc: linux@lists.openrisc.net > Cc: Aurelien Jacquiot > Cc: linux-c6x-dev@linux-c6x.org > Cc: Mark Salter > Cc: Michal Simek > Cc: microblaze-uclinux@itee.uq.edu.au > Cc: Chris Zankel > Cc: linux-xtensa@linux-xtensa.org > Cc: Max Filippov > Signed-off-by: Ralf Baechle > Signed-off-by: Stephen Warren Acked-by: Catalin Marinas From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from service88.mimecast.com ([195.130.217.12]:49979 "EHLO service88.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755838Ab2K1Rom convert rfc822-to-8bit (ORCPT ); Wed, 28 Nov 2012 12:44:42 -0500 Date: Wed, 28 Nov 2012 17:44:26 +0000 From: Catalin Marinas Subject: Re: [PATCH V7 1/7] kbuild: centralize .dts->.dtb rule Message-ID: <20121128174426.GD17405@arm.com> References: <1354058956-7199-1-git-send-email-swarren@wwwdotorg.org> MIME-Version: 1.0 In-Reply-To: <1354058956-7199-1-git-send-email-swarren@wwwdotorg.org> Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-arch-owner@vger.kernel.org List-ID: To: Stephen Warren Cc: Michal Marek , Grant Likely , "rob.herring@calxeda.com" , Sam Ravnborg , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , Stephen Warren , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , Olof Johansson , Russell King , Jonas Bonn , "linux@openrisc.net" , Aurelien Jacquiot , "linux-c6x-dev@linux-c6x.org" , "msalter@redhat.com" , Michal Simek , "microblaze-uclinux@itee.uq.edu.au" , Chris Zankel , "linux-xtensa@linux-xtensa.org" , Max Filippov , Ralf Baechle Message-ID: <20121128174426.2uKveOvhWk7LVfXZzrnHHeMEkjzkdlwvNP5NOmNG_p0@z> On Tue, Nov 27, 2012 at 11:29:10PM +0000, Stephen Warren wrote: > From: Stephen Warren > > All architectures that use cmd_dtc do so in almost the same way. Create > a central build rule to avoid duplication. The one difference is that > most current uses of dtc build $(obj)/%.dtb from $(src)/dts/%.dts rather > than building the .dtb in the same directory as the .dts file. This > difference will be eliminated arch-by-arch in future patches. > > MIPS is the exception here; it already uses the exact same rule as the > new common rule, so the duplicate is removed in this patch to avoid any > conflict. arch/mips changes courtesy of Ralf Baechle. > > Update Documentation/kbuild to remove the explicit call to cmd_dtc from > the example, now that the rule exists in a centralized location. > > Cc: Arnd Bergmann > Cc: linux-arm-kernel@lists.infradead.org > Cc: Olof Johansson > Cc: Russell King > Cc: Catalin Marinas > Cc: Jonas Bonn > Cc: linux@lists.openrisc.net > Cc: Aurelien Jacquiot > Cc: linux-c6x-dev@linux-c6x.org > Cc: Mark Salter > Cc: Michal Simek > Cc: microblaze-uclinux@itee.uq.edu.au > Cc: Chris Zankel > Cc: linux-xtensa@linux-xtensa.org > Cc: Max Filippov > Signed-off-by: Ralf Baechle > Signed-off-by: Stephen Warren Acked-by: Catalin Marinas