From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH V7 1/7] kbuild: centralize .dts->.dtb rule Date: Thu, 29 Nov 2012 10:28:11 +1100 Message-ID: <1354145291.2179.147.camel@pasglop> References: <1354058956-7199-1-git-send-email-swarren@wwwdotorg.org> <50B65903.1050400@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50B65903.1050400@wwwdotorg.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: "Linuxppc-dev" To: Stephen Warren Cc: Michal Marek , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Paul Mackerras , linuxppc-dev@lists.ozlabs.org List-Id: linux-arch.vger.kernel.org On Wed, 2012-11-28 at 11:33 -0700, Stephen Warren wrote: > Following this patch (http://lkml.org/lkml/2012/11/27/555), I posted a > series of patches to convert almost all architectures to using the > centralized rule. The one architecture I didn't convert was PowerPC. > > I didn't convert it because arch/powerpc/boot/Makefile contains a large > number of rules (to generate *Image.% where % is a board name) that > depend on %.dtb, which is expected to be in arch/powerpc/boot rather > than arch/powerpc/boot/dts. Now, I guess it's possible to convert them > all to expect the .dtb files to be in dts/ and also have > arch/powerpc/boot/Makefile call make in boot/dts/ to make each required > .dtb file. However, the patch would be a bit larger than all the other > architecture patches. Do you want me to do that conversion, or would you > rather I leave PowerPC alone? Thanks for any feedback. Kumar, any objection to moving the dtb's to arch/powerpc/boot/dtb/ ? Other than breaking a script or two out there ... Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:50274 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755863Ab2K1Xe0 (ORCPT ); Wed, 28 Nov 2012 18:34:26 -0500 Message-ID: <1354145291.2179.147.camel@pasglop> Subject: Re: [PATCH V7 1/7] kbuild: centralize .dts->.dtb rule From: Benjamin Herrenschmidt Date: Thu, 29 Nov 2012 10:28:11 +1100 In-Reply-To: <50B65903.1050400@wwwdotorg.org> References: <1354058956-7199-1-git-send-email-swarren@wwwdotorg.org> <50B65903.1050400@wwwdotorg.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-arch-owner@vger.kernel.org List-ID: To: Stephen Warren Cc: Paul Mackerras , Michal Marek , Grant Likely , Rob Herring , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Kumar Gala Message-ID: <20121128232811.kmEmk7330g8szoc5zpWfwvxaeV45WbjXl7wJJzTdzBY@z> On Wed, 2012-11-28 at 11:33 -0700, Stephen Warren wrote: > Following this patch (http://lkml.org/lkml/2012/11/27/555), I posted a > series of patches to convert almost all architectures to using the > centralized rule. The one architecture I didn't convert was PowerPC. > > I didn't convert it because arch/powerpc/boot/Makefile contains a large > number of rules (to generate *Image.% where % is a board name) that > depend on %.dtb, which is expected to be in arch/powerpc/boot rather > than arch/powerpc/boot/dts. Now, I guess it's possible to convert them > all to expect the .dtb files to be in dts/ and also have > arch/powerpc/boot/Makefile call make in boot/dts/ to make each required > .dtb file. However, the patch would be a bit larger than all the other > architecture patches. Do you want me to do that conversion, or would you > rather I leave PowerPC alone? Thanks for any feedback. Kumar, any objection to moving the dtb's to arch/powerpc/boot/dtb/ ? Other than breaking a script or two out there ... Cheers, Ben.