From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933143AbXGUV0Y (ORCPT ); Sat, 21 Jul 2007 17:26:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760669AbXGUV0P (ORCPT ); Sat, 21 Jul 2007 17:26:15 -0400 Received: from khc.piap.pl ([195.187.100.11]:39304 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761559AbXGUV0O (ORCPT ); Sat, 21 Jul 2007 17:26:14 -0400 To: Stefan Richter Cc: "Robert P. J. Day" , jidong xiao , linux-kernel@vger.kernel.org Subject: Re: what does select statement mean in Kconfig file? References: <4104961b0707210634gea4e240x11b043b4e64c7840@mail.gmail.com> <46A2397C.4050100@s5r6.in-berlin.de> From: Krzysztof Halasa Date: Sat, 21 Jul 2007 23:26:12 +0200 In-Reply-To: <46A2397C.4050100@s5r6.in-berlin.de> (Stefan Richter's message of "Sat, 21 Jul 2007 18:51:08 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Stefan Richter writes: > The latter is sometimes hard or impossible to satisfy. Therefore the > select statement should be used with care, i.e. only for library-type > helper code which itself shouldn't depend on further options. How about depending on common dependency? Something like config A bool XXX depends on ARM config B depends on ARM select A or: if ARM config A bool XXX endif if ARM config B select A endif -- Krzysztof Halasa