Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1766004AbYBNItI (ORCPT ); Thu, 14 Feb 2008 03:49:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756948AbYBNIsz (ORCPT ); Thu, 14 Feb 2008 03:48:55 -0500 Received: from wilson.telenet-ops.be ([195.130.132.42]:34607 "EHLO wilson.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755989AbYBNIsx (ORCPT ); Thu, 14 Feb 2008 03:48:53 -0500 X-Greylist: delayed 90595 seconds by postgrey-1.27 at vger.kernel.org; Thu, 14 Feb 2008 03:48:53 EST Date: Thu, 14 Feb 2008 09:48:42 +0100 (CET) From: Geert Uytterhoeven To: Roman Zippel cc: Sam Ravnborg , David Miller , greg@kroah.com, torvalds@linux-foundation.org, jeff@garzik.org, arjan@infradead.org, sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, linux-arch@vger.kernel.org, akpm@linux-foundation.org, linux-kbuild Subject: Re: distributed module configuration [Was: Announce: Linux-next (Or Andrew's dream :-))] In-Reply-To: <200802140156.15325.zippel@linux-m68k.org> Message-ID: References: <20080212174824.GA1919@kroah.com> <20080212.164149.209357519.davem@davemloft.net> <20080213084541.GA8091@uranus.ravnborg.org> <200802140156.15325.zippel@linux-m68k.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 50 On Thu, 14 Feb 2008, Roman Zippel wrote: > On Wednesday 13. February 2008, Sam Ravnborg wrote: > > config foo > > tristate "do you want foo?" > > depends on USB && BAR > > module > > obj-$(CONFIG_FOO) += foo.o > > foo-y := file1.o file2.o > > help > > foo will allow you to explode your PC > > I'm more thinking about something like this: > > module foo [FOO] > tristate "do you want foo?" > depends on USB && BAR > source file1.c > source file2.c if BAZ And we can finally distinguish between config bar bool "do you want bar?" for boolean options and module baz bool "do you want baz?" for modules that cannot be modular? And we can make `depends on' do the right thing for dependencies on modules that are modular (cfr. e.g. commit e11a6c236b3070ed05b079f91a9b3defa48b54d3, [VIDEO]: XVR500 and XVR2500 require FB=y)? 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 -- 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/