From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gprs189-60.eurotel.cz ([160.218.189.60]:2176 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757021AbYEXV1D (ORCPT ); Sat, 24 May 2008 17:27:03 -0400 Date: Sat, 24 May 2008 23:26:29 +0200 From: Pavel Machek Subject: Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for .c files Message-ID: <20080524212628.GA4040@ucw.cz> References: <20080524192540.GA28067@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080524192540.GA28067@uranus.ravnborg.org> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sam Ravnborg Cc: linux-kbuild , LKML , Linus Torvalds , Andrew Morton , Roman Zippel , Jeremy Fitzhardinge Hi! > One line smaller and we follow the normal flow in the program. > The code is always build but we do not waste space as gcc will > do proper code-elimination for us. > > Today this is not possible because kconfig will only > define CONFIG_FOO if selected and FOO is not a module. > > The following patch implement a new set of defines in > the KCONFIG_* namespace. Could we s/KCONFIG_/CFG_/g ? CONFIG_ is long enough already, and K there is very maningless..... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html