From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:36469 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751239Ab0FDGaX (ORCPT ); Fri, 4 Jun 2010 02:30:23 -0400 MIME-Version: 1.0 In-Reply-To: <1275613325.1931.849.camel@pasglop> References: <20100603074548.GA12104@flint.arm.linux.org.uk> <20100603164623.GM30622@atomide.com> <20100603181303.GB25779@flint.arm.linux.org.uk> <1275613325.1931.849.camel@pasglop> Date: Fri, 4 Jun 2010 08:30:21 +0200 Message-ID: Subject: Re: ARM defconfig files From: Geert Uytterhoeven Content-Type: text/plain; charset=UTF-8 Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Benjamin Herrenschmidt Cc: Russell King , Tony Lindgren , Linus Torvalds , Kevin Hilman , Daniel Walker , Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org On Fri, Jun 4, 2010 at 03:02, Benjamin Herrenschmidt wrote: > On Thu, 2010-06-03 at 19:13 +0100, Russell King wrote: >> On Thu, Jun 03, 2010 at 07:46:23PM +0300, Tony Lindgren wrote: >> > Compiling in multiple ARM platforms is trickier, we would have to get >> > rid of the duplicate defines like NR_IRQS, then have some common clock >> > framework etc. Then figure out some way to get rid of Makefile.boot. >> > Russell probably has some other things in mind that would have to be >> > changed to make this happen. > > Ok so multiple platforms in one kernel is a different subject and could Supporting multiple platforms matters a lot to keep everything (not just defconfigs) under control. Technically, on m68k we only need two defconfigs: sun3_defconfig (Sun 3 doesn't use a Motorola MMU) and multi_defconfig (which is the logical OR of all the other defconfigs, and which should work on all non-Sun 3). The reason we have the others is to ease building of platform-specific kernels that need less memory. I guess most of them can be (almost) regenerated from multi_defconfig just by disabling support for the other platforms. > warrant a different thread. However it's interesting because we do that > quite well on powerpc :-) So you could easily have one big common defconfig... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds