Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 19 Nov 2002 15:47:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 19 Nov 2002 15:47:31 -0500 Received: from pasmtp.tele.dk ([193.162.159.95]:523 "EHLO pasmtp.tele.dk") by vger.kernel.org with ESMTP id ; Tue, 19 Nov 2002 15:47:28 -0500 Date: Tue, 19 Nov 2002 21:54:30 +0100 From: Sam Ravnborg To: "Richard B. Johnson" Cc: Sam Ravnborg , linux-kernel@vger.kernel.org, kbuild-devel@lists.sourceforge.net, Kai Germaschewski Subject: Re: [RFC/CFT] Separate obj/src dir Message-ID: <20021119205430.GC15161@mars.ravnborg.org> Mail-Followup-To: "Richard B. Johnson" , Sam Ravnborg , linux-kernel@vger.kernel.org, kbuild-devel@lists.sourceforge.net, Kai Germaschewski References: <20021119202931.GA15161@mars.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1419 Lines: 35 On Tue, Nov 19, 2002 at 03:46:28PM -0500, Richard B. Johnson wrote: > Different configurations are handled with different ".config" > files. And different .config files results in different kernels. Please note that .config files are also located in OBJTREE. Cosider something like the following: ~/bk/linux-2.5 ~/compile/arm <= Used to check that the kernel compiles for ARM ~/compile/allmod <= My config with a lot of modules ~/compile/machine <= The config I use on my machine ~/compile/work <= That's my sandbox All configurations share the same src. During the last copule of days we have seen some header file clean-ups. It would have been nice if they tried compiling in all four configurations listed above. But if I switch .config then it is often a recompile of everything, whereas the above setup can minimize it. The header file cleanup is maybe not the best example because touching a few key header files requires recompilation of everything anyway. But my point is that there is a good use of different configurations based on the same src. Others that have asked for separate obj dir may step in here, explaining why they thougt it was good. Sam - 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/