Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S275513AbTHNUbx (ORCPT ); Thu, 14 Aug 2003 16:31:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S275514AbTHNUbx (ORCPT ); Thu, 14 Aug 2003 16:31:53 -0400 Received: from pasmtp.tele.dk ([193.162.159.95]:40711 "EHLO pasmtp.tele.dk") by vger.kernel.org with ESMTP id S275513AbTHNUbv (ORCPT ); Thu, 14 Aug 2003 16:31:51 -0400 Date: Thu, 14 Aug 2003 22:31:43 +0200 From: Sam Ravnborg To: Roman Zippel Cc: Sam Ravnborg , Jeff Garzik , Matthew Wilcox , Russell King , Greg KH , "David S. Miller" , rddunlap@osdl.org, davej@redhat.com, linux-kernel@vger.kernel.org, kernel-janitor-discuss@lists.sourceforge.net Subject: Re: C99 Initialisers Message-ID: <20030814203143.GA607@mars.ravnborg.org> Mail-Followup-To: Roman Zippel , Sam Ravnborg , Jeff Garzik , Matthew Wilcox , Russell King , Greg KH , "David S. Miller" , rddunlap@osdl.org, davej@redhat.com, linux-kernel@vger.kernel.org, kernel-janitor-discuss@lists.sourceforge.net References: <20030813173150.GA3317@kroah.com> <3F3A79CA.6010102@pobox.com> <20030813180245.GC3317@kroah.com> <3F3A82C3.5060006@pobox.com> <20030813193855.E20676@flint.arm.linux.org.uk> <3F3A952C.4050708@pobox.com> <20030813195412.GE10015@parcelfarce.linux.theplanet.co.uk> <3F3A9FA1.8000708@pobox.com> <20030813210531.GA15148@mars.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 32 On Thu, Aug 14, 2003 at 12:24:28AM +0200, Roman Zippel wrote: > Something I really want to avoid is Makefile specific syntax in Kconfig. I do not see the point in this. Kconfig should treat this as a block of text - like the help section. Only action to take is to: 1: Find all symbols enclosed in $() a: Check that it exists b: Append CONFIG_ Then Kconfig in each directory should generate a Kconfig.make file, that will be included when kbuild reaches that directory. > IMO it should somehow like this: > > module maxtorsata MAXTOR_SATA > {tristate|prompt} "SATA for Maxtor IDE" > depends on LIB_SATA > source smaxtor.c > source maxtorlog.c if MAXTOR_VERBOSE If using the above syntax - where do you see the rules being translated to makefile syntax? kbuild could do this - yes. But I do not see the point in having the extra abstraction layer. Maybe you have something in mind I have not envisioned? 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/