From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com ([134.134.136.20]:62713 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759041Ab1EMQ1M (ORCPT ); Fri, 13 May 2011 12:27:12 -0400 From: Andi Kleen Subject: Re: [PATCH v2] kconfig: autogenerated config_is_xxx macro References: <1304658229-30820-1-git-send-email-plagnioj@jcrosoft.com> Date: Fri, 13 May 2011 09:26:47 -0700 In-Reply-To: <1304658229-30820-1-git-send-email-plagnioj@jcrosoft.com> (Jean-Christophe PLAGNIOL-VILLARD's message of "Fri, 6 May 2011 07:03:49 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Jean-Christophe PLAGNIOL-VILLARD Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Jean-Christophe PLAGNIOL-VILLARD writes: > this will allow to use to use > > if(config_is_xxx()) > if(config_is_xxx_module()) > > in the code instead of > > #ifdef CONFIG_xxx > #ifdef CONFIG_xxx_MODULE Very nice idea. Acked-by: Andi Kleen -Andi -- ak@linux.intel.com -- Speaking for myself only