From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 678D8C43331 for ; Thu, 2 Apr 2020 09:28:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 392962073B for ; Thu, 2 Apr 2020 09:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585819681; bh=J7RWyOxaAGre4b4DdTI7i7aOZrxrkooqXFQyOQ4KOsY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=fSpsLWZya2r92IwaYs0eN75Xj8Idiphf3EEWZRYyzfeeKPSKw2nGGhg9X7QaQU89I 1V1Hs5qKIr67hmajaoj1Z9SM1W3y2NcO0iMUBqtmndcCcGt5z6++TlQejl1rh9xrEu P3xBhP64ovvdNU5yo0czt/XzjTTvXhap1PpWL6fk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387719AbgDBJ2A (ORCPT ); Thu, 2 Apr 2020 05:28:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:48560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725965AbgDBJ2A (ORCPT ); Thu, 2 Apr 2020 05:28:00 -0400 Received: from coco.lan (ip5f5ad4d8.dynamic.kabel-deutschland.de [95.90.212.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 549A4206D3; Thu, 2 Apr 2020 09:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585819679; bh=J7RWyOxaAGre4b4DdTI7i7aOZrxrkooqXFQyOQ4KOsY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=B1DZr68ChWCITpuRnRBqBRzDSD79fRF1eAmBOzvVfh1ZuzY/ux6jiR79aVLi2tOFe gjFMQy69GpienXO8q+G6gNoOoriqO9E3NxUHxiqwhL7cG2IRMyrQAJ/3qA81DSw5ur lxsFptASA8ewYAjY+LqZyk0fwAo2xOP5axd8ePV8= Date: Thu, 2 Apr 2020 11:27:47 +0200 From: Mauro Carvalho Chehab To: Dan Carpenter Cc: Helen Koike , Linux Media Mailing List , Alexandre Belloni , Sylwester Nawrocki , Michal Simek , "Lad, Prabhakar" , Laurent Pinchart , Pavel Machek , devel@driverdev.osuosl.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Ludovic Desroches , Krzysztof Kozlowski , Chen-Yu Tsai , Kukjin Kim , NXP Linux Team , Steve Longerbeam , Bingbu Cao , Tian Shu Qiu , Yong Zhi , Philipp Zabel , Sakari Ailus , Sascha Hauer , Maxime Ripard , Niklas =?UTF-8?B?U8O2ZGVybHVuZA==?= , Yong Deng , Ezequiel Garcia , linux-arm-kernel@lists.infradead.org, Hyun Kwon , Heungjun Kim , Nicolas Ferre , Paul Kocialkowski , Kyungmin Park , Pengutronix Kernel Team , Greg Kroah-Hartman , Hans Verkuil , Shawn Guo , Masahiro Yamada , linux-kbuild@vger.kernel.org Subject: Re: [PATCH 0/4] media Kconfig reorg - part 2 Message-ID: <20200402112747.57dd1cfe@coco.lan> In-Reply-To: <20200401105949.GB2001@kadam> References: <6fadc6ea-8512-03ba-da30-43c64d7562f6@collabora.com> <20200401105949.GB2001@kadam> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Em Wed, 1 Apr 2020 13:59:49 +0300 Dan Carpenter escreveu: > On Wed, Mar 25, 2020 at 04:36:31PM -0300, Helen Koike wrote: > > Hello, > > > > On 3/25/20 1:03 PM, Mauro Carvalho Chehab wrote: > > > That's the second part of media Kconfig changes. The entire series is > > > at: > > > > > > https://git.linuxtv.org/mchehab/experimental.git/log/?h=media-kconfig > > > > I made a quick experiment (using this branch) with someone who works > > with the kernel for his master degree, but doesn't have much experience in kernel development in general. > > I asked him to enable Vimc (from default configs, where multimedia starts disabled). > > The whole config system is really outdated. Agreed. Btw, when compiled against Qt 5.14, "make xconfig" is currently broken. I'm sending in a few some fixup patches for it. > It should be that this task was done with a command like "kconfig enable > vimc". It would ask necessary questions and pull in the dependencies > automatically. Yes. That's something that it is missing for a long time. There were some efforts to add a SAT solver at the Kernel that could be used for that, but I dunno what's current status. > Twenty years ago it made sense to go through the menus and select things > one by one. Does anyone really start from defconfig any more? Surely > everyone starts with a known working config and just enables specific > options. Yeah, that's my feeling too. > I started to hack together some code to create a kconfig program to > enable and disable options. The problem is that all library code > assumes we want to display menus so it was a lot of work and I gave up. :-( Thanks, Mauro