🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel
Article #21

Re: [PATCH v1 04/10] kconfig: Introduce checkconfig target

#21
From: Ahmed S. Darwish
Date: Mon, 09 Nov 2026 13:40
39 lines
4014 bytes
On Sun, 08 Nov 2026, Nathan Chancellor wrote:
>
> On Sun, Nov 08, 2026 at 06:59:45PM +0000, Julian Braha wrote:
> >
> > I think this tool may belong in scripts/ due to the kbuild integration,
> > as was mentioned in the past on another tool review:
> >
> > https://lore.kernel.org/linux-kbuild/20260428183101.GA3304253@ax162/
>
> Yeah, while I would prefer for the script to live in scripts/ due to
> being called from Kbuild, I am not sure if the rules/schemas belong
> there?
>
> It might be better to keep everything in tools/ for that reason,
> especially if this may be called externally, but I am open to other
> thoughts.
>

I would prefer to keep it under tools/ as well.  Because of the PREEMPT_RT
policy, and the possible extra policies from ELISA, etc.

This is why one of the development rules at the top of the Python script,
at patch 03/10, is:

  The tool must not depend on being run inside the kernel source tree.
  This simplifies invocation, testing and possible future packaging.

So, upon (hopefully) including this tool mainline, I'd send a patch to the
Debian kernel team to create a separate Debian package from the kernel
sources for it.  That is, exactly like what they're now doing with perf.

(v2 of this series will add versioning support to the schemas; thus making
 the tool's support for packaging stronger as well.)

Thanks!

--
Ahmed S. Darwish
Linutronix GmbH
Technical Details
Message-ID: <NXxLj-aP1f-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK5-aaez-5@gated-at.bofh.it> <NXm3v-aILv-5@gated-at.bofh.it> <NXm3v-aILv-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Ahmed S. Darwish" <darwi@linutronix.de>
Newsgroups: linux.debian.kernel,linux.kernel
Subject: Re: [PATCH v1 04/10] kconfig: Introduce checkconfig target
Date: Mon, 09 Nov 2026 14:40:01 +0100
Message-ID: <NXxLj-aP1f-3@gated-at.bofh.it>
References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK5-aaez-5@gated-at.bofh.it> <NXm3v-aILv-5@gated-at.bofh.it> <NXm3v-aILv-3@gated-at.bofh.it>
X-Original-To: Nathan Chancellor <nathan@kernel.org>
X-Mailbox-Line: From debian-kernel-request@lists.debian.org  Mon Nov  9 13:36:10 2026
Old-Return-Path: <darwi@linutronix.de>
X-Amavis-Spam-Status: No, score=-4.4 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate:hard: -4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailing-List: <debian-kernel@lists.debian.org> archive/latest/158158
List-ID: <debian-kernel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kernel/>
List-Archive: https://lists.debian.org/msgid-search/avHIOS9NHwCCMITd@lx-t490
Approved: robomod@news.nic.it
Lines: 39
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Julian Braha <julianbraha@gmail.com>,
	Clark Williams <clrkwllms@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@redhat.com>, Nicolas Schier <nsc@kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Frederic Weisbecker <frederic@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	John Ogness <john.ogness@linutronix.de>,
	Derek Barbosa <debarbos@redhat.com>,
	Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>,
	Daan De Meyer <daan.j.demeyer@gmail.com>,
	Luca Boccassi <luca.boccassi@gmail.com>,
	linux-rt-devel@lists.linux.dev, debian-kernel@lists.debian.org,
	linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Original-Date: Mon, 9 Nov 2026 14:18:49 +0100
X-Original-Message-ID: <avHIOS9NHwCCMITd@lx-t490>
X-Original-References: <20261106091922.7560-1-darwi@linutronix.de>
 <20261106091922.7560-5-darwi@linutronix.de>
 <3dd2bb0d-8486-4630-b496-e92e4ac37c29@gmail.com>
 <20261109003909.GB3429615@ax162>