Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161565Ab3FUOdT (ORCPT ); Fri, 21 Jun 2013 10:33:19 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:62564 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161519Ab3FUOdR (ORCPT ); Fri, 21 Jun 2013 10:33:17 -0400 From: Arnd Bergmann To: Joel A Fernandes Subject: Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA Date: Fri, 21 Jun 2013 16:32:12 +0200 User-Agent: KMail/1.12.2 (Linux/3.8.0-22-generic; KDE/4.3.2; x86_64; ; ) Cc: Sekhar Nori , Joel A Fernandes , Tony Lindgren , Matt Porter , Grant Likely , Rob Herring , Vinod Koul , Mark Brown , Benoit Cousson , Russell King , Rob Landley , Andrew Morton , Jason Kridner , Koen Kooi , Devicetree Discuss , Linux OMAP List , Linux ARM Kernel List , Linux DaVinci Kernel List , Linux Kernel Mailing List , Linux Documentation List , Linux MMC List , Linux SPI Devel List References: <1371762407-24544-1-git-send-email-joelagnel@ti.com> <201306211600.04986.arnd@arndb.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201306211632.12577.arnd@arndb.de> X-Provags-ID: V02:K0:GZRFD1sLVwxkUHfJ4j+qU+Nvl8iv+qToyCmDLxDnXRE FFSGYtxbvd0TnjcOCPnAzOnqPOQtFsdvx5A9FQsSNMKMSzoXvY tW9jp/G7Ete9YZiTevK0a5UwffFtZB9FWZUeh/jP9unAmkkfva HfjNorWR5kTK8GRfMgRMeUzhIWmCq8TPNIGaoUseEjS+7vy4FY 6h4jUQQpKyGBKX5+ZZU7oPPygspfNLAmOozNqMmdFyONc9DreB LoxUZ4TK+EhRcUga2M0ED4pe+9x2chbjz1AERE6HoEEdF+gc+S qMm4wp1QIog+FO1Hff7ash8MJKDJFdHvWMzLWeuEyEF1GizyRO 7FKPZq5yxRp4YYKiYJ10= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1517 Lines: 36 On Friday 21 June 2013, Joel A Fernandes wrote: > I haven't come across this problem but- are you saying there is a > shortcoming in Kbuild/Kconfig that selects an option even if its > dependency is not met? Well, the shortcoming is that it lets you specify impossible contraints. You get a warning from Kconfig when building such a configuration, but then it continues. > The problem with defconfig is also too many options I feel for a common case. > CONFIG_DMADEVICES=y > CONFIG_TI_EDMA=y > > Most if not all future OMAPs from will use EDMA. Why not we can be > explicit about it and just built it in anyway. If ARCH_OMAP and > DMADEVICES are selected, then we can just build EDMA in by default. It's just not how we do things. Kconfig is a mess because we are not consistent in the way this is done. > I agree maybe the option can be dropped from Davinci but I suggest > let's keep it for OMAP. Is that ok? No, I would still like you to not add it to either one. I'm spending a lot of my time tracking down incorrect 'select' statements and I'd rather spend it in a different way. I've had to a number of 'select' statements from OMAP in the past, please don't add any new ones unless there is a strict build dependency (which normally should not exist). Arnd -- 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/