Re: [PATCH] klp-build: Allow passing options to make via '--'
From: Song Liu
Date: Fri Nov 06 2026 - 16:17:53 EST
On Tue, Nov 3, 2026 at 3:39 PM Dylan Hatch <dylanbhatch@xxxxxxxxxx> 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@xxxxxxxxxx>
Acked-by: Song Liu <song@xxxxxxxxxx>