From: Josh Poimboeuf <jpoimboe@kernel.org>
To: Dylan Hatch <dylanbhatch@google.com>
Cc: Miroslav Benes <mbenes@suse.cz>, Petr Mladek <pmladek@suse.com>,
Joe Lawrence <joe.lawrence@redhat.com>,
Song Liu <song@kernel.org>,
live-patching@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] klp-build: Allow passing options to make via '--'
Date: Wed, 11 Nov 2026 22:14:19 -0800 [thread overview]
Message-ID: <avVYkcbr6ah9IzYX@jpoimboe> (raw)
In-Reply-To: <20261103233909.1364531-1-dylanbhatch@google.com>
On Tue, Nov 03, 2026 at 11:39:09PM +0000, Dylan Hatch wrote:
> Livepatch builds rely on reproducing the original kernel build
> environment. Currently, klp-build invokes bare 'make', which drops any
> command-line variables or flags used during the original build (such as
> 'LLVM=1', 'CC=...', 'KBUILD_BUILD_TIMESTAMP=...', or custom wrapper
> Makefiles via '-f').
>
> Refactor the make invocations to use a common MAKE array and allow
> passing arbitrary make options after '--' on the klp-build command line:
>
> klp-build [OPTIONS] PATCH_FILE(s) [-- MAKE_OPTIONS]
>
> Signed-off-by: Dylan Hatch <dylanbhatch@google.com>
Does this enable anything that's not already possible via setting those
variables in the environment (or MAKEFLAGS), e.g.:
LLVM=1 klp-build
?
--
Josh
prev parent reply other threads:[~2026-11-12 6:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 23:39 Dylan Hatch
2026-11-06 21:16 ` Song Liu
2026-11-12 6:14 ` Josh Poimboeuf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=avVYkcbr6ah9IzYX@jpoimboe \
--to=jpoimboe@kernel.org \
--cc=dylanbhatch@google.com \
--cc=joe.lawrence@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=mbenes@suse.cz \
--cc=pmladek@suse.com \
--cc=song@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®