Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756848Ab3C2Srv (ORCPT ); Fri, 29 Mar 2013 14:47:51 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:56425 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756830Ab3C2Sru (ORCPT ); Fri, 29 Mar 2013 14:47:50 -0400 Date: Fri, 29 Mar 2013 19:47:43 +0100 From: Pavel Machek To: Stephen Warren Cc: Olof Johansson , Grant Likely , kernel list , "Rafael J. Wysocki" , Russell King - ARM Linux , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , Rob Herring , Linus Torvalds , Greg KH Subject: Re: 3.9-rc1 regression in arm dtb build Message-ID: <20130329184743.GA3409@amd.pavel.ucw.cz> References: <5137C404.9060902@wwwdotorg.org> <20130307144506.GB7344@amd.pavel.ucw.cz> <5138FDAE.8060202@wwwdotorg.org> <20130311050546.GA21863@quad.lixom.net> <20130328092916.GA11187@amd.pavel.ucw.cz> <51545870.4010209@wwwdotorg.org> <20130328193323.GA25166@amd.pavel.ucw.cz> <20130328195456.GA22527@quad.lixom.net> <5155C9C6.4070702@wwwdotorg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5155C9C6.4070702@wwwdotorg.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1450 Lines: 39 > >> Have old kernel running, dtbs building. Apply a patch. It starts > >> behaving weird. You do make clean... but you still get old dtbs. > >> > >> (It would be nice if make socfpga_cyclone5.dtb would magically remove > >> all the dtbs from old location; make dtbs does that if I understand > >> stuff correctly). > > > > > > This takes care of the "make dtbs" case (or just "make" case), but not > > when you build a specific target. > > I guess to really solve this, we need the following changes: > > In the all kernels: > > For both arch/*/boot and arch/*/boot/dts: clean removes *.dtb ... > make dtbs and make foo.dtb both rm dts/*.dtb > > Is that too much to retrofit into all the stable kernels? Well... since we need stable, anyway... what about: Revert to good old location, fix 3.8 via stable tree, add "clean removes *.dtb" to new kernels, so that people are not confused? Yes, that means we keep old location, but arguably dtbs belong there, and it is compatible with powerpc.... and we will not have to do so much stable updates. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/