Return-Path: 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 Date: Thu, 2 Apr 2020 11:27:47 +0200 From: Mauro Carvalho Chehab 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: 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 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