Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261735AbUKJLzi (ORCPT ); Wed, 10 Nov 2004 06:55:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261736AbUKJLzi (ORCPT ); Wed, 10 Nov 2004 06:55:38 -0500 Received: from scrub.xs4all.nl ([194.109.195.176]:50106 "EHLO scrub.xs4all.nl") by vger.kernel.org with ESMTP id S261735AbUKJLze (ORCPT ); Wed, 10 Nov 2004 06:55:34 -0500 Date: Wed, 10 Nov 2004 12:55:32 +0100 (CET) From: Roman Zippel X-X-Sender: roman@scrub.home To: Dave Airlie cc: linux-kernel@vger.kernel.org Subject: Re: kconfig/build question.. In-Reply-To: Message-ID: References: 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 Content-Length: 638 Lines: 21 Hi, On Wed, 10 Nov 2004, Dave Airlie wrote: > So what I want to do and what I think Kbuild can't do is: > > if CONFIG_AGP=n then CONFIG_DRM can be n,m,y > if CONFIG_AGP=m then CONFIG_DRM can be m but not y > if CONFIG_AGP=y then CONFIG_DRM can be m,y Do you really want to say that DRM can't be disabled if AGP is enabled? Otherwise this should do it: depends on AGP || AGP=n bye, Roman - 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/