Article View: linux.kernel
Article #43Re: [PATCH v1 10/10] kconfig: Introduce OVERLAY= for make checkconfig
From: Ahmed S. Darwish
Date: Thu, 12 Nov 2026 21:50
Date: Thu, 12 Nov 2026 21:50
44 lines
3613 bytes
3613 bytes
Hi Nicolas,
On Thu, 12 Nov 2026, Ahmed S. Darwish wrote:
>
> On Wed, 11 Nov 2026, Nicolas Schier wrote:
> >
> > Please add the optional overlay arguments right here:
> >
> > $(Q)$(checkconfig) check -r "$(RULES)" -c "$(KCONFIG_CONFIG)" $(addprefix -o , "$(OVERLAY)")
> >
>
> Sure, will do.
>
I've just tried the suggested addprefix function:
$ make V=1 RULES=preempt_rt checkconfig
...
python3 -B ./tools/kconfig-check/check.py check -c ".config" -p "preempt_rt" -o ""
Notice the breakage due to -o "".
Unquoting OVERLAY will make it work:
$(Q)$(checkconfig) check -r "$(RULES)" -c "$(KCONFIG_CONFIG)" $(addprefix -o , $(OVERLAY))
But it breaks the consistent pattern of quoting all passed variables.
So, can we keep it as it was originally done?
Namely:
checkconfig_overlay = $(if $(OVERLAY),-o "$(OVERLAY)")
...
checkconfig:
...
$(Q)$(checkconfig) check -r "$(RULES)" -c "$(KCONFIG_CONFIG)" $(checkconfig_overlay)
Thanks!
--
Ahmed S. Darwish
Linutronix GmbH
Technical Details
Message-ID:
<NYKQ9-bv9N-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-35@gated-at.bofh.it> <NYaD0-bb7t-9@gated-at.bofh.it> <NYBMS-bqmY-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!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 10/10] kconfig: Introduce OVERLAY= for make checkconfig Date: Thu, 12 Nov 2026 22:50:01 +0100 Message-ID: <NYKQ9-bv9N-3@gated-at.bofh.it> References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-35@gated-at.bofh.it> <NYaD0-bb7t-9@gated-at.bofh.it> <NYBMS-bqmY-5@gated-at.bofh.it> X-Original-To: Nicolas Schier <nsc@kernel.org> X-Mailbox-Line: From debian-kernel-request@lists.debian.org Thu Nov 12 21:48:08 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/158255 List-ID: <debian-kernel.lists.debian.org> List-URL: <https://lists.debian.org/debian-kernel/> List-Archive: https://lists.debian.org/msgid-search/avYwKuCrHOHV_gOw@lx-t490 Approved: robomod@news.nic.it Lines: 44 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Clark Williams <clrkwllms@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@redhat.com>, Nathan Chancellor <nathan@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: Thu, 12 Nov 2026 22:31:22 +0100 X-Original-Message-ID: <avYwKuCrHOHV_gOw@lx-t490> X-Original-References: <20261106091922.7560-1-darwi@linutronix.de> <20261106091922.7560-11-darwi@linutronix.de> <avQNgXSWhODyc5Fc@derry.ads.avm.de> <avWmzbh3rp7TawCn@lx-t490>