Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262919AbVEHSUa (ORCPT ); Sun, 8 May 2005 14:20:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262918AbVEHSUa (ORCPT ); Sun, 8 May 2005 14:20:30 -0400 Received: from pfepc.post.tele.dk ([195.41.46.237]:52546 "EHLO pfepc.post.tele.dk") by vger.kernel.org with ESMTP id S262917AbVEHSUX (ORCPT ); Sun, 8 May 2005 14:20:23 -0400 Date: Sun, 8 May 2005 20:20:50 +0200 From: Sam Ravnborg To: Adrian Bunk Cc: Jan Dittmer , spyro@f2s.com, zippel@linux-m68k.org, starvik@axis.com, wli@holomorphy.com, linux-kernel@vger.kernel.org, kbuild-devel@lists.sourceforge.net, dev-etrax@axis.com, sparclinux@vger.kernel.org Subject: Re: [kbuild-devel] select of non-existing I2C* symbols Message-ID: <20050508182050.GB8182@mars.ravnborg.org> References: <20050303002733.GH10124@redhat.com> <20050302203812.092f80a0.akpm@osdl.org> <20050304105247.B3932@flint.arm.linux.org.uk> <20050304032632.0a729d11.akpm@osdl.org> <20050304113626.E3932@flint.arm.linux.org.uk> <20050506235842.A23651@flint.arm.linux.org.uk> <427C9DBD.1030905@ppp0.net> <20050507122622.C11839@flint.arm.linux.org.uk> <427CC082.4000603@ppp0.net> <20050507144135.GL3590@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050507144135.GL3590@stusta.de> User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 20 > Shouldn't kconfig exit with an error if a not available symbol gets > selected? No. There are meny configurations where we select a symbol that is only visible in some configurations. Several possibilities exists: 1) Silently ignore SELECT SYMBOL when SYMBOL is undefined 2) Warn - as we do today 3) Error out as you suggest Option 1) is preferable for 'make oldconfig' simply because target group here do not care. But it would be nice to know when one do a typing error in SELECT. So one *config target should continue to warn about it. Sam - 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/