From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030268AbWGSURl (ORCPT ); Wed, 19 Jul 2006 16:17:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030269AbWGSURl (ORCPT ); Wed, 19 Jul 2006 16:17:41 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]:38148 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S1030268AbWGSURk (ORCPT ); Wed, 19 Jul 2006 16:17:40 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ArusfFp9c0B4y9WxkZunsUxIS0/cGVGqecudwehdqjlAqdyZqVnOtqwzBhyCFvlDzEN78l2IyDFl5ZVU6/hEseUfAgxyqybk4t6r5DVLf+dAr5A133yPvUpPGM8sJxtPT5sVtg3z/8UQigNg5PlwSZ3OFHDuRRXQ20WVbGbxZLE= Message-ID: Date: Wed, 19 Jul 2006 16:17:38 -0400 From: "Dmitry Torokhov" To: "Roman Zippel" Subject: Re: Fwd: Using select in boolean dependents of a tristate symbol Cc: linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200607132231.46776.dtor@insightbb.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 7/14/06, Roman Zippel wrote: > > What you could do is to use "select INPUT_FF_MEMLESS if HID" to make it > visible that this dependency is actually for select. > This point is a little subtle and I'm not completely happy with it, maybe > I'm going to split this into two select variations - one which includes > all the dependencies and one which only uses the config symbol to select. > Roman, Another question for you - what is the best way to describe dependancy of a sub-option on a subsystem so you won't end up with the subsystem as a module and user built in. Something like config IBM_ASM tristate "Device driver for IBM RSA service processor" depends on X86 && PCI && EXPERIMENTAL ... config IBM_ASM_INPUT bool "Support for remote keyboard/mouse" depends on IBM_ASM && (INPUT=y || INPUT=IMB_ASM) But the above feels yucky. Could we have something like: depends on matching(INPUT, IBM_ASM) Thank you. -- Dmitry